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

[FIX] Skip Distributed Sampler Tests if PyTorch with CUDA is not Available #4518

Merged

Conversation

alexbarghi-nv
Copy link
Member

Some nightly tests are failing because there is no CUDA-supporting version of PyTorch available (as expected, i.e. on CUDA 11.4). Instead, the CPU version of PyTorch gets installed, and the test crashes when attempting to set the CUDA allocator. This PR disables those tests when only a CPU version of PyTorch is available to prevent this from happening.

@github-actions github-actions bot added the python label Jul 2, 2024
@alexbarghi-nv alexbarghi-nv self-assigned this Jul 2, 2024
@alexbarghi-nv alexbarghi-nv added the bug Something isn't working label Jul 2, 2024
@alexbarghi-nv alexbarghi-nv added this to the 24.08 milestone Jul 2, 2024
@alexbarghi-nv alexbarghi-nv marked this pull request as ready for review July 2, 2024 18:37
@alexbarghi-nv alexbarghi-nv requested a review from a team as a code owner July 2, 2024 18:37
@alexbarghi-nv alexbarghi-nv added the non-breaking Non-breaking change label Jul 2, 2024
@vyasr
Copy link
Contributor

vyasr commented Jul 2, 2024

Thanks!

@rlratzel
Copy link
Contributor

rlratzel commented Jul 2, 2024

/merge

@alexbarghi-nv
Copy link
Member Author

C++ tests failed :(

@vyasr
Copy link
Contributor

vyasr commented Jul 3, 2024

CC @ChuckHastings this looks like the same issue we were discussing last week and this morning. Is the error intermittent for now, i.e. will rerunning be an OK approach until the test's memory usage gets fixed?

@ChuckHastings
Copy link
Collaborator

I would try rerunning, I believe this is non-deterministic. We are discussing a fix, I'll try and link the PR here.

@rapids-bot rapids-bot bot merged commit e299a59 into rapidsai:branch-24.08 Jul 9, 2024
131 of 132 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working non-breaking Non-breaking change python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants