Skip to content

Commit 62b6a93

Browse files
committed
Added CUDA 11.8 install and deployment.
1 parent ed2e3b9 commit 62b6a93

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

cuda_install.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ URL114=https://developer.download.nvidia.com/compute/cuda/11.4.4/local_installer
1010
URL115=https://developer.download.nvidia.com/compute/cuda/11.5.2/local_installers/cuda_11.5.2_495.29.05_linux.run
1111
URL116=https://developer.download.nvidia.com/compute/cuda/11.6.2/local_installers/cuda_11.6.2_510.47.03_linux.run
1212
URL117=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

1516
CUDA_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

deploy_from_slurm.sh renamed to deploy.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,16 @@ if [ ! -f "./bitsandbytes/libbitsandbytes_cuda117.so" ]; then
108108
exit 64
109109
fi
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

112122
make clean
113123
export CUDA_HOME=$BASE_PATH/cuda-10.2
@@ -201,5 +211,15 @@ if [ ! -f "./bitsandbytes/libbitsandbytes_cuda117_nocublaslt.so" ]; then
201211
exit 64
202212
fi
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+
204224
python -m build
205225
python -m twine upload dist/* --verbose

0 commit comments

Comments
 (0)