mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Revert "add supports_coalescing property in c10d::Backend to determine whether backend supports coalescing (#135338)"
This reverts commit e5574445b01f264e57653a8a42af1118e89acc9a. Reverted https://github.com/pytorch/pytorch/pull/135338 on behalf of https://github.com/ZainRizvi due to Sorry but this is failing internally. Please see D65663382 for more details ([comment](https://github.com/pytorch/pytorch/pull/135338#issuecomment-2465911854))
This commit is contained in:
@ -811,7 +811,7 @@ class TORCH_API ProcessGroup : public torch::CustomClassHolder {
|
||||
TORCH_CHECK(
|
||||
backendTypeToBackend_.find(backendType_) != backendTypeToBackend_.end(),
|
||||
"Could not find the default backend type ",
|
||||
uint16_t(backendType_),
|
||||
backendType_,
|
||||
" for Process Group with name ",
|
||||
getBackendName(),
|
||||
".");
|
||||
@ -832,9 +832,7 @@ class TORCH_API ProcessGroup : public torch::CustomClassHolder {
|
||||
TORCH_CHECK(
|
||||
backendTypeToBackend_.find(backendType) != backendTypeToBackend_.end(),
|
||||
"Could not find backend type ",
|
||||
uint16_t(backendType),
|
||||
" for Process Group with name ",
|
||||
backendTypeToString(backendType),
|
||||
backendType,
|
||||
".");
|
||||
return backendTypeToBackend_.at(backendType);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user