pytorch/cmake
Peter Bell 2000eba454 NCCL: Re-enable parallel builds (#83696)
Since #83173 was merged I have noticed some CI being slowed down by
the nccl building step. e.g. if there are no C++ changes then sccache
compiles everything else very quickly and nccl becomes the limiting
factor.

This re-enables parallel builds with some safeguards to protect
against oversubscription. When `make` is the parent build system, we
can use `$(MAKE)` and the `make` jobserver will coordinate job
allocation with the sub-process. For other build systems, this calls
`make` with the `-l` flag which should prevent it launching jobs when
the system load average is already too high.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/83696
Approved by: https://github.com/malfet
2022-08-25 05:16:01 +00:00
..
External NCCL: Re-enable parallel builds (#83696) 2022-08-25 05:16:01 +00:00
Modules Fix false positive AVX, AVX2 and AVX512 detection with MSVC (#82554) 2022-08-01 23:52:49 +00:00
Modules_CUDA_fix
public [ROCm] Fixes the kernel asserts API declaration mismatch error (#81790) 2022-08-16 19:22:31 +00:00
Allowlist.cmake
BuildVariables.cmake
Caffe2Config.cmake.in [ROCm] Load ROCm if Torch is used as a dependency (#80469) 2022-07-05 21:04:07 +00:00
Caffe2ConfigVersion.cmake.in
cmake_uninstall.cmake.in
Codegen.cmake [retake2][mobile] Fix lightweight dispatch OOM error by introducing selective build (#80791) 2022-07-15 18:04:25 +00:00
DebugHelper.cmake
Dependencies.cmake [BE] Add append_cxx_flag_if_supported macro (#82883) 2022-08-10 14:32:26 +00:00
FlatBuffers.cmake
GoogleTestPatch.cmake
IncludeSource.cpp.in
iOS.cmake
Metal.cmake
MiscCheck.cmake
ProtoBuf.cmake
ProtoBufPatch.cmake
Summary.cmake fix torch.config can't respect USE_MKLDNN flag issue (#75001) 2022-07-17 15:00:48 +00:00
TorchConfig.cmake.in reorder cpuinfo and clog deps in TorchConfig.cmake (#79551) 2022-06-16 18:23:26 +00:00
TorchConfigVersion.cmake.in
VulkanCodegen.cmake Consolidate all python targets in the tools folder (#80408) 2022-06-29 23:27:47 +00:00
VulkanDependencies.cmake