Spaces:
Runtime error
Runtime error
- attention.py +1 -1
attention.py
CHANGED
|
@@ -5,7 +5,7 @@ import torch.nn.functional as F
|
|
| 5 |
from torch import nn, einsum
|
| 6 |
from einops import rearrange, repeat
|
| 7 |
|
| 8 |
-
from
|
| 9 |
|
| 10 |
|
| 11 |
def exists(val):
|
|
|
|
| 5 |
from torch import nn, einsum
|
| 6 |
from einops import rearrange, repeat
|
| 7 |
|
| 8 |
+
from util2 import checkpoint
|
| 9 |
|
| 10 |
|
| 11 |
def exists(val):
|