Skip to content
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

Running tests locally fails if host has less than 2 cuda devices #123

Closed
MaciejSkrabski opened this issue May 20, 2023 · 1 comment
Closed
Labels
question Further information is requested

Comments

@MaciejSkrabski
Copy link
Contributor

Issue description

When developing locally the tests in tests/test_tranining_on_multi_gpus.py fail on a single-gpu host.

Possible fix: skip the tests in this module alltogether if host does not have 2 cuda-enabled devices minimum.

@MaciejSkrabski MaciejSkrabski added the question Further information is requested label May 20, 2023
@WenjieDu
Copy link
Owner

I used --ignore to skip them, for example, in workflow testing_daily#L55. Your proposal is automatic and more reasonable. I have merged the PR. Thanks! 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants