Commit ·
1e1c006
1
Parent(s): 365f542
fix
Browse files- __pycache__/rotary_emb.cpython-312.pyc +0 -0
- attn.py +1 -1
__pycache__/rotary_emb.cpython-312.pyc
ADDED
|
Binary file (5.78 kB). View file
|
|
|
attn.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
import math
|
| 2 |
-
|
| 3 |
import torch
|
| 4 |
import torch.nn as nn
|
| 5 |
import torch.nn.functional as F
|
|
|
|
| 1 |
import math
|
| 2 |
+
from torch.nn.attention.flex_attention import flex_attention, create_block_mask
|
| 3 |
import torch
|
| 4 |
import torch.nn as nn
|
| 5 |
import torch.nn.functional as F
|