submodules: point gloo to new home in pytorch/ (#152438)

Gloo moved to the PyTorch GitHub org. This updates PyTorch to point to the new location.

https://github.com/pytorch/gloo

Test plan:

CI
Pull Request resolved: https://github.com/pytorch/pytorch/pull/152438
Approved by: https://github.com/fduwjj
This commit is contained in:
Tristan Rice 2025-04-29 20:42:18 +00:00 committed by PyTorch MergeBot
parent 0a2d3206a8
commit c039cb1a06
2 changed files with 2 additions and 2 deletions

2
.gitmodules vendored
View File

@ -25,7 +25,7 @@
[submodule "third_party/gloo"]
ignore = dirty
path = third_party/gloo
url = https://github.com/facebookincubator/gloo
url = https://github.com/pytorch/gloo
[submodule "third_party/NNPACK_deps/pthreadpool"]
ignore = dirty
path = third_party/pthreadpool

View File

@ -1239,7 +1239,7 @@ if(USE_GLOO)
endif()
if(USE_NCCL AND NOT USE_SYSTEM_NCCL)
# Tell Gloo build system to use bundled NCCL, see
# https://github.com/facebookincubator/gloo/blob/950c0e23819779a9e0c70b861db4c52b31d1d1b2/cmake/Dependencies.cmake#L123
# https://github.com/pytorch/gloo/blob/950c0e23819779a9e0c70b861db4c52b31d1d1b2/cmake/Dependencies.cmake#L123
set(NCCL_EXTERNAL ON)
endif()
set(GLOO_USE_CUDA_TOOLKIT ON CACHE BOOL "" FORCE)