Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorder imports in torch_test_contrib_gpu (facebookresearch#3761)
Summary: Pull Request resolved: facebookresearch#3761 This fixes CUDA errors inside faiss in the test environment. If torch is loaded first (this change) then both torch and faiss see all GPUs available on the machine in the ROCm build. Without this change, torch sees the GPUs and faiss does not. AMD team is looking at finding the root cause but we wanted to fix this for now. Reviewed By: junjieqi, mnorris11 Differential Revision: D61358018 fbshipit-source-id: ac59be99817ef13d37a1676f615585f44eabaf24
- Loading branch information