pytorch/test/cpp
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
..
aoti_abi_check
aoti_inference [AOTI] Fix test_aoti_inference CPU build issue (#134675) 2024-08-28 17:42:19 +00:00
api Use C10_UNUSED instead of (void)X (#137239) 2024-10-15 14:32:59 +00:00
c10d Make Context to be Device-agnostic Step by Step (1/N) (#136519) (#138155) 2024-10-17 20:58:56 +00:00
common
dist_autograd
jit [ROCm] LoadHIP CMake cleanup (#137112) 2024-10-13 00:06:41 +00:00
lazy [ROCm] LoadHIP CMake cleanup (#137112) 2024-10-13 00:06:41 +00:00
lite_interpreter_runtime
monitor
profiler [Record Function] Add Kwargs only USER_SCOPE Macro (#138020) 2024-10-17 18:48:49 +00:00
rpc
tensorexpr Use C10_UNUSED instead of (void)X (#137239) 2024-10-15 14:32:59 +00:00
__init__.py