-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Open
Description
I want to test my installation like this:
DS_BUILD_<...> pip install <--options...> .cd testspytest --forked unit/
However this doesn't work because deepspeed inserts the source into the syspath:
Lines 20 to 21 in 5f7b687
| git_repo_path = abspath(dirname(dirname(__file__))) | |
| sys.path.insert(1, git_repo_path) |
Consequently it fails to find the installed ops.
Given the recent discovery of issues with (pre)compiled ops I think this should be changed. If someone really wants to test the source without precompiled ops they can modify PYTHONPATH or not install deepspeed and run from the source directory as pytest tests/unit/
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels