Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cifar ds training]: Set cuda device during initialization of distrib…
…uted backend. (#931) * Set cuda device during initialization of distributed backend. The commit is needed to avoid GPU 0 being set as the compute stream via torch.cuda.current_stream() during initialization across all GPUs. Signed-off-by: Jagadish Krishnamoorthy <jagadish.krishnamoorthy@amd.com> * Use device-agnostic accelerator API. Signed-off-by: Jagadish Krishnamoorthy <jagadish.krishnamoorthy@amd.com> --------- Signed-off-by: Jagadish Krishnamoorthy <jagadish.krishnamoorthy@amd.com>
- Loading branch information