-
-
Notifications
You must be signed in to change notification settings - Fork 902
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* pin deepspeed to 0.14.4 otherwise it doesn't play nice with trl * Add test to import to try to trigger import dependencies
- Loading branch information
Showing
3 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,7 +86,7 @@ def parse_requirements(): | |
"fused-dense-lib @ git+https://github.com/Dao-AILab/[email protected]#subdirectory=csrc/fused_dense_lib", | ||
], | ||
"deepspeed": [ | ||
"deepspeed @ git+https://github.com/microsoft/DeepSpeed.git@bc48371c5e1fb8fd70fc79285e66201dbb65679b", | ||
"deepspeed==0.14.4", | ||
"deepspeed-kernels", | ||
], | ||
"mamba-ssm": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
""" | ||
test module to import various submodules that have historically broken due to dependency issues | ||
""" | ||
import unittest | ||
|
||
|
||
class TestImports(unittest.TestCase): | ||
""" | ||
Test class to import various submodules that have historically broken due to dependency issues | ||
""" | ||
|
||
def test_import_causal_trainer(self): | ||
from axolotl.core.trainer_builder import ( # pylint: disable=unused-import # noqa: F401 | ||
HFCausalTrainerBuilder, | ||
) | ||
|
||
def test_import_rl_trainer(self): | ||
from axolotl.core.trainer_builder import ( # pylint: disable=unused-import # noqa: F401 | ||
HFRLTrainerBuilder, | ||
) |