-
Notifications
You must be signed in to change notification settings - Fork 5
[WIP] fix tests in CI #38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| rdma_options = [True, False] | ||
| rdma_options = ( | ||
| [True, False] | ||
| if os.environ.get("TORCHSTORE_RDMA_ENABLED", "0") == "1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TORCHSTORE_RDMA_ENABLED env var is overloaded. We uses it in the program to switch between the network protocols, so we cannot use it again to branch parametrized tests. So for tests, if this env var is set to 1, we test both, if this env var is set to 0, we only test non-RDMA branch.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't we automatically switch to non-rdma even if this is enabled?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Incredible! Made my day!
test_sharding.pywhich takes too long to run in CI