vllm.utils.nccl
¶
Functions:
-
find_nccl_include_paths–Return possible include paths containing
nccl.h. -
find_nccl_library–Return NCCL/RCCL shared library name to load.
-
find_nccl_library_paths–Return possible library paths containing
libnccl.so. -
query_nccl_gin_type–Return the full or railed GIN type, or
Noneon query failure.
find_nccl_include_paths()
¶
Return possible include paths containing nccl.h.
Considers VLLM_NCCL_INCLUDE_PATH and the nvidia-nccl-cuXX package.
Source code in vllm/utils/nccl.py
find_nccl_library()
¶
Return NCCL/RCCL shared library name to load.
Uses VLLM_NCCL_SO_PATH if set; otherwise chooses by torch backend.
Source code in vllm/utils/nccl.py
find_nccl_library_paths()
¶
Return possible library paths containing libnccl.so.
Looks inside the nvidia-nccl-cuXX pip package.
Source code in vllm/utils/nccl.py
query_nccl_gin_type(group, *, railed=False)
¶
Return the full or railed GIN type, or None on query failure.