Commit ·
ea729ff
1
Parent(s): 266f58d
Fix a relative import
Browse filesChange from vortex.model.foo to .foo
model.py
CHANGED
|
@@ -37,7 +37,7 @@ from tqdm import tqdm
|
|
| 37 |
from .attention import MHA
|
| 38 |
|
| 39 |
try:
|
| 40 |
-
from
|
| 41 |
except ImportError:
|
| 42 |
"could not import swap_mha_rope from src.positional_embeddings"
|
| 43 |
|
|
|
|
| 37 |
from .attention import MHA
|
| 38 |
|
| 39 |
try:
|
| 40 |
+
from .positional_embeddings import swap_mha_rope
|
| 41 |
except ImportError:
|
| 42 |
"could not import swap_mha_rope from src.positional_embeddings"
|
| 43 |
|