Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set the right cuda device in DataLoadingThread (pytorch#1742)
Summary: Pull Request resolved: pytorch#1742 We need to set the cuda device in DataLoadingThread. Without it, GPU 0 will be used by the data loading threads of other GPUs. Reviewed By: joshuadeng Differential Revision: D54402994 fbshipit-source-id: 47a071ac40eebf3703e3a63fffdd256933b5b12c
- Loading branch information