mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-21 05:34:18 +08:00
This reverts commit a0d026688cd69583d5a4e0c6f3e5fda141a7f4a9. Revert "Always build USE_DISTRIBUTED. (#160449)" This reverts commit d80297a6846f1f2c36fd4f19e22919f2abe8fcea. Pull Request resolved: https://github.com/pytorch/pytorch/pull/162568 Approved by: https://github.com/huydhn
This commit is contained in:
committed by
PyTorch MergeBot
parent
11acfed3ce
commit
dda071587f
@ -88,7 +88,8 @@ def build_pytorch(
|
||||
) -> None:
|
||||
my_env = _create_build_env()
|
||||
if (
|
||||
not check_negative_env_flag("USE_CUDA")
|
||||
not check_negative_env_flag("USE_DISTRIBUTED")
|
||||
and not check_negative_env_flag("USE_CUDA")
|
||||
and not check_negative_env_flag("USE_NCCL")
|
||||
and not check_env_flag("USE_SYSTEM_NCCL")
|
||||
):
|
||||
|
Reference in New Issue
Block a user