Skip to content

Commit

Permalink
Merge pull request #7 from marksgraham/main
Browse files Browse the repository at this point in the history
Import partial
  • Loading branch information
lucidrains committed Mar 5, 2023
2 parents d041958 + ef4b809 commit 9fa8d8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions memory_efficient_attention_pytorch/transformer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import torch
from torch import nn, einsum
import torch.nn.functional as F
from functools import partial

from einops import rearrange
from memory_efficient_attention_pytorch import FlashAttention, Attention
Expand Down

0 comments on commit 9fa8d8e

Please sign in to comment.