File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ URL114=https://developer.download.nvidia.com/compute/cuda/11.4.4/local_installer
1010URL115=https://developer.download.nvidia.com/compute/cuda/11.5.2/local_installers/cuda_11.5.2_495.29.05_linux.run
1111URL116=https://developer.download.nvidia.com/compute/cuda/11.6.2/local_installers/cuda_11.6.2_510.47.03_linux.run
1212URL117=https://developer.download.nvidia.com/compute/cuda/11.7.0/local_installers/cuda_11.7.0_515.43.04_linux.run
13+ URL118=https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda_11.8.0_520.61.05_linux.run
1314
1415
1516CUDA_VERSION=$1
@@ -52,6 +53,9 @@ if [[ -n "$CUDA_VERSION" ]]; then
5253 elif [[ " $CUDA_VERSION " -eq " 117" ]]; then
5354 URL=$URL117
5455 FOLDER=cuda-11.7
56+ elif [[ " $CUDA_VERSION " -eq " 118" ]]; then
57+ URL=$URL118
58+ FOLDER=cuda-11.8
5559 else
5660 echo " argument error: No cuda version passed as input. Choose among: {111, 115}"
5761 fi
Original file line number Diff line number Diff line change @@ -108,6 +108,16 @@ if [ ! -f "./bitsandbytes/libbitsandbytes_cuda117.so" ]; then
108108 exit 64
109109fi
110110
111+ make clean
112+ export CUDA_HOME=$BASE_PATH /cuda-11.8
113+ make cuda11x CUDA_VERSION=118
114+
115+ if [ ! -f " ./bitsandbytes/libbitsandbytes_cuda118.so" ]; then
116+ # Control will enter here if $DIRECTORY doesn't exist.
117+ echo " Compilation unsuccessul!" 1>&2
118+ exit 64
119+ fi
120+
111121
112122make clean
113123export CUDA_HOME=$BASE_PATH /cuda-10.2
@@ -201,5 +211,15 @@ if [ ! -f "./bitsandbytes/libbitsandbytes_cuda117_nocublaslt.so" ]; then
201211 exit 64
202212fi
203213
214+ make clean
215+ export CUDA_HOME=$BASE_PATH /cuda-11.8
216+ make cuda11x_nomatmul CUDA_VERSION=118
217+
218+ if [ ! -f " ./bitsandbytes/libbitsandbytes_cuda118_nocublaslt.so" ]; then
219+ # Control will enter here if $DIRECTORY doesn't exist.
220+ echo " Compilation unsuccessul!" 1>&2
221+ exit 64
222+ fi
223+
204224python -m build
205225python -m twine upload dist/* --verbose
You can’t perform that action at this time.
0 commit comments