Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] Skip Distributed Sampler Tests if PyTorch with CUDA is not Avai…
…lable (#4518) 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. Authors: - Alex Barghi (https://github.com/alexbarghi-nv) Approvers: - Vyas Ramasubramani (https://github.com/vyasr) - Rick Ratzel (https://github.com/rlratzel) URL: #4518
- Loading branch information