Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #686 from takagi/nccl-2.11.4
Browse files Browse the repository at this point in the history
Support NCCL 2.11.4
  • Loading branch information
kmaehashi authored Sep 11, 2021
2 parents a6999f8 + b5e5947 commit 5836ea8
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
'nccl2.8-cuda112',
'nccl2.9-cuda102', 'nccl2.9-cuda110', 'nccl2.9-cuda113',
'nccl2.10-cuda102', 'nccl2.10-cuda110',
'nccl2.11-cuda102', 'nccl2.11-cuda110',
]
cutensor_choices = [
'none',
Expand Down Expand Up @@ -117,8 +118,9 @@
'cuda101': ['nccl2.4-cuda101', 'nccl2.5-cuda101', 'nccl2.6-cuda101',
'nccl2.7-cuda101'],
'cuda102': ['nccl2.5-cuda102', 'nccl2.6-cuda102', 'nccl2.7-cuda102',
'nccl2.9-cuda102', 'nccl2.10-cuda102'],
'cuda110': ['nccl2.7-cuda110', 'nccl2.9-cuda110', 'nccl2.10-cuda110'],
'nccl2.9-cuda102', 'nccl2.10-cuda102', 'nccl2.11-cuda102'],
'cuda110': ['nccl2.7-cuda110', 'nccl2.9-cuda110', 'nccl2.10-cuda110',
'nccl2.11-cuda110'],
'cuda111': ['nccl2.7-cuda111'],
'cuda112': ['nccl2.8-cuda112'],
'cuda113': ['nccl2.9-cuda113'],
Expand Down Expand Up @@ -983,6 +985,24 @@ def get_scipy_choices():
lib_dir='/usr/lib/x86_64-linux-gnu',
)

codes['nccl2.11-cuda102'] = nccl_base.format(
nccl_sub_dir='cuda',
nccl_os_ver='1804',
libnccl2='libnccl2_2.11.4-1+cuda10.2_amd64',
libnccl_dev='libnccl-dev_2.11.4-1+cuda10.2_amd64',
include_dir='/usr/include',
lib_dir='/usr/lib/x86_64-linux-gnu',
)

codes['nccl2.11-cuda110'] = nccl_base.format(
nccl_sub_dir='cuda',
nccl_os_ver='1804',
libnccl2='libnccl2_2.11.4-1+cuda11.0_amd64',
libnccl_dev='libnccl-dev_2.11.4-1+cuda11.0_amd64',
include_dir='/usr/include',
lib_dir='/usr/lib/x86_64-linux-gnu',
)

# cuTENSOR
# The shell script needs to be saved in an env var due to Dockerfile limitations
codes['cutensor1.2.0-cuda101'] = 'RUN eval $CUTENSOR_INSTALL && install_cutensor 1.2.0.2 1.2.0 10.1;'
Expand Down

0 comments on commit 5836ea8

Please sign in to comment.