mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Update NCCL to v2.13.4-1 (#82775)
Also, update slimming script to include two instances of net.o that new library generates Pull Request resolved: https://github.com/pytorch/pytorch/pull/82775 Approved by: https://github.com/ngimel
This commit is contained in:
parent
61b1301ed8
commit
c08092fdf2
2
cmake/External/nccl.cmake
vendored
2
cmake/External/nccl.cmake
vendored
|
|
@ -54,6 +54,8 @@ if(NOT __NCCL_INCLUDED)
|
|||
COMMAND "${CMAKE_AR}" x "${__NCCL_BUILD_DIR}/lib/libnccl_static.a"
|
||||
COMMAND for obj in all_gather_* all_reduce_* broadcast_* reduce_*.o$<SEMICOLON> do "${CMAKE_OBJCOPY}" --remove-relocations .nvFatBinSegment --remove-section __nv_relfatbin $$obj$<SEMICOLON> done
|
||||
COMMAND "${CMAKE_AR}" cr "${__NCCL_BUILD_DIR}/lib/libnccl_slim_static.a" "*.o"
|
||||
COMMAND "${CMAKE_AR}" xN 1 "${__NCCL_BUILD_DIR}/lib/libnccl_static.a" net.o
|
||||
COMMAND "${CMAKE_AR}" q "${__NCCL_BUILD_DIR}/lib/libnccl_slim_static.a" net.o
|
||||
COMMAND cd -
|
||||
COMMAND "${CMAKE_COMMAND}" -E remove_directory "${__NCCL_BUILD_DIR}/objects"
|
||||
WORKING_DIRECTORY "${__NCCL_BUILD_DIR}"
|
||||
|
|
|
|||
2
third_party/nccl/nccl
vendored
2
third_party/nccl/nccl
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit 7e515921295adaab72adf56ea71a0fafb0ecb5f3
|
||||
Subproject commit 19ab67d1727d337d10d0a48cbaf5cd119b8d88f1
|
||||
Loading…
Reference in New Issue
Block a user