GitHub repository: lucidrains/memory-efficient-attention-pytorch
Primary language: Python
Description: Implementation of a memory efficient multi-head attention as proposed in the paper, "Self-attention Does Not Need O(n²) Memory"