pytorch/test/cpp/c10d
Edward Yang b14269dcfb Make Context to be Device-agnostic Step by Step (1/N) (#136519) (#138155)
Summary:
- make init to be device-agnostic and move it to AcceleratorHooksInterface
- refactoring context related to device initialization

Original pull request: https://github.com/pytorch/pytorch/pull/136519

Test Plan: contbuild & OSS CI, see 4a8e49389c

Reviewed By: malfet

Differential Revision: D64471142

Pull Request resolved: https://github.com/pytorch/pytorch/pull/138155
Approved by: https://github.com/malfet, https://github.com/bobrenjc93
2024-10-17 20:58:56 +00:00
..
example
BackoffTest.cpp [Distributed] [16/N] Fix clang-tidy warnings in torch/csrc/distributed/c10d (#137404) 2024-10-10 18:05:34 +00:00
CMakeLists.txt Revert "c10d/logging: add C10D_LOCK_GUARD (#134131)" 2024-09-03 22:35:14 +00:00
CUDATest.cu
CUDATest.hpp
FileStoreTest.cpp [Distributed] [16/N] Fix clang-tidy warnings in torch/csrc/distributed/c10d (#137404) 2024-10-10 18:05:34 +00:00
HashStoreTest.cpp [Distributed] [16/N] Fix clang-tidy warnings in torch/csrc/distributed/c10d (#137404) 2024-10-10 18:05:34 +00:00
ProcessGroupGlooAsyncTest.cpp Make Context to be Device-agnostic Step by Step (1/N) (#136519) (#138155) 2024-10-17 20:58:56 +00:00
ProcessGroupGlooTest.cpp [Distributed] [16/N] Fix clang-tidy warnings in torch/csrc/distributed/c10d (#137404) 2024-10-10 18:05:34 +00:00
ProcessGroupMPITest.cpp [Distributed] [16/N] Fix clang-tidy warnings in torch/csrc/distributed/c10d (#137404) 2024-10-10 18:05:34 +00:00
ProcessGroupNCCLErrorsTest.cpp [c10d] disable watchdog thread in blockingWait mode (#138001) 2024-10-16 07:42:22 +00:00
ProcessGroupNCCLTest.cpp Make Context to be Device-agnostic Step by Step (1/N) (#136519) (#138155) 2024-10-17 20:58:56 +00:00
ProcessGroupUCCTest.cpp [Distributed] [16/N] Fix clang-tidy warnings in torch/csrc/distributed/c10d (#137404) 2024-10-10 18:05:34 +00:00
StoreTestCommon.hpp
TCPStoreTest.cpp [Distributed] [16/N] Fix clang-tidy warnings in torch/csrc/distributed/c10d (#137404) 2024-10-10 18:05:34 +00:00
TestUtils.hpp