@@ -10,11 +10,22 @@ function install_cusparselt_040 {
10
10
cp -a libcusparse_lt-linux-x86_64-0.4.0.7-archive/include/* /usr/local/cuda/include/
11
11
cp -a libcusparse_lt-linux-x86_64-0.4.0.7-archive/lib/* /usr/local/cuda/lib64/
12
12
popd
13
- rm -rf tmp_custparselt
13
+ rm -rf tmp_cusparselt
14
+ }
15
+
16
+ function install_cusparselt_052 {
17
+ # cuSparseLt license: https://docs.nvidia.com/cuda/cusparselt/license.html
18
+ mkdir tmp_cusparselt && pushd tmp_cusparselt
19
+ wget -q https://developer.download.nvidia.com/compute/cusparselt/redist/libcusparse_lt/linux-x86_64/libcusparse_lt-linux-x86_64-0.5.2.1-archive.tar.xz
20
+ tar xf libcusparse_lt-linux-x86_64-0.5.2.1-archive.tar.xz
21
+ cp -a libcusparse_lt-linux-x86_64-0.5.2.1-archive/include/* /usr/local/cuda/include/
22
+ cp -a libcusparse_lt-linux-x86_64-0.5.2.1-archive/lib/* /usr/local/cuda/lib64/
23
+ popd
24
+ rm -rf tmp_cusparselt
14
25
}
15
26
16
27
function install_118 {
17
- echo " Installing CUDA 11.8 and cuDNN 8.7 and NCCL 2.15 and cuSparseLt-0.5 .0"
28
+ echo " Installing CUDA 11.8 and cuDNN 8.7 and NCCL 2.15 and cuSparseLt-0.4 .0"
18
29
rm -rf /usr/local/cuda-11.8 /usr/local/cuda
19
30
# install CUDA 11.8.0 in the same container
20
31
wget -q https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda_11.8.0_520.61.05_linux.run
@@ -47,7 +58,7 @@ function install_118 {
47
58
}
48
59
49
60
function install_121 {
50
- echo " Installing CUDA 12.1 and cuDNN 8.9 and NCCL 2.18.1 and cuSparseLt-0.5.0 "
61
+ echo " Installing CUDA 12.1 and cuDNN 8.9 and NCCL 2.18.1 and cuSparseLt-0.5.2 "
51
62
rm -rf /usr/local/cuda-12.1 /usr/local/cuda
52
63
# install CUDA 12.1.0 in the same container
53
64
wget -q https://developer.download.nvidia.com/compute/cuda/12.1.1/local_installers/cuda_12.1.1_530.30.02_linux.run
@@ -74,7 +85,7 @@ function install_121 {
74
85
cd ..
75
86
rm -rf nccl
76
87
77
- install_cusparselt_040
88
+ install_cusparselt_052
78
89
79
90
ldconfig
80
91
}
0 commit comments