mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Revert "[CUDA12] set_device change (#94864)"
This reverts commit c18be2b2ec00133abe28efcdd0462e50ddd45a1a. Reverted https://github.com/pytorch/pytorch/pull/94864 on behalf of https://github.com/ezyang due to avoid affecting cuda 11
This commit is contained in:
@ -229,7 +229,6 @@ std::shared_ptr<SugaredValue> CUDAPythonModuleValue::attr(
|
||||
"default_stream",
|
||||
"current_device",
|
||||
"_exchange_device",
|
||||
"_maybe_exchange_device",
|
||||
"set_device",
|
||||
"device_index",
|
||||
"device_count",
|
||||
|
Reference in New Issue
Block a user