@@ -10,77 +10,77 @@ if [[ ! -z "${LD_LIBRARY_PATH}" ]]; then
1010fi
1111
1212
13- # module unload cuda && echo "no module function available. Probably not on a slurm cluster."
14- # module unload gcc && echo "no module function available. Probably not on a slurm cluster."
15- #
16- # rm -rf dist build
17- # make cleaneggs
18- # make cleanlibs
19- #
20- # make clean
21- # export CUDA_HOME=
22- # export CUDA_VERSION=
23- # make cpuonly CUDA_VERSION="CPU"
24- #
25- # if [ ! -f "./bitsandbytes/libbitsandbytes_cpu.so" ]; then
26- # # Control will enter here if $DIRECTORY doesn't exist.
27- # echo "Compilation unsuccessul!" 1>&2
28- # exit 64
29- # fi
30- #
31- # make clean
32- # export CUDA_HOME=$BASE_PATH/cuda-11.0
33- # make cuda110 CUDA_VERSION=110
34- #
35- # if [ ! -f "./bitsandbytes/libbitsandbytes_cuda110.so" ]; then
36- # # Control will enter here if $DIRECTORY doesn't exist.
37- # echo "Compilation unsuccessul!" 1>&2
38- # exit 64
39- # fi
40- #
41- # make clean
42- # export CUDA_HOME=$BASE_PATH/cuda-11.1
43- # make cuda11x CUDA_VERSION=111
44- #
45- # if [ ! -f "./bitsandbytes/libbitsandbytes_cuda111.so" ]; then
46- # # Control will enter here if $DIRECTORY doesn't exist.
47- # echo "Compilation unsuccessul!" 1>&2
48- # exit 64
49- # fi
50- #
51- # make clean
52- # export CUDA_HOME=$BASE_PATH/cuda-11.4
53- # make cuda11x CUDA_VERSION=114
54- #
55- # if [ ! -f "./bitsandbytes/libbitsandbytes_cuda114.so" ]; then
56- # # Control will enter here if $DIRECTORY doesn't exist.
57- # echo "Compilation unsuccessul!" 1>&2
58- # exit 64
59- # fi
60- #
61- # make clean
62- # export CUDA_HOME=$BASE_PATH/cuda-11.5
63- # make cuda11x CUDA_VERSION=115
64- #
65- # if [ ! -f "./bitsandbytes/libbitsandbytes_cuda115.so" ]; then
66- # # Control will enter here if $DIRECTORY doesn't exist.
67- # echo "Compilation unsuccessul!" 1>&2
68- # exit 64
69- # fi
70- #
71- # make clean
72- # export CUDA_HOME=$BASE_PATH/cuda-11.7
73- # make cuda11x CUDA_VERSION=117
74- #
75- # if [ ! -f "./bitsandbytes/libbitsandbytes_cuda117.so" ]; then
76- # # Control will enter here if $DIRECTORY doesn't exist.
77- # echo "Compilation unsuccessul!" 1>&2
78- # exit 64
79- # fi
13+ module unload cuda && echo " no module function available. Probably not on a slurm cluster."
14+ module unload gcc && echo " no module function available. Probably not on a slurm cluster."
15+
16+ rm -rf dist build
17+ make cleaneggs
18+ make cleanlibs
19+
20+ make clean
21+ export CUDA_HOME=
22+ export CUDA_VERSION=
23+ make cpuonly CUDA_VERSION=" CPU"
24+
25+ if [ ! -f " ./bitsandbytes/libbitsandbytes_cpu.so" ]; then
26+ # Control will enter here if $DIRECTORY doesn't exist.
27+ echo " Compilation unsuccessul!" 1>&2
28+ exit 64
29+ fi
30+
31+ make clean
32+ export CUDA_HOME=$BASE_PATH /cuda-11.0
33+ make cuda110 CUDA_VERSION=110
34+
35+ if [ ! -f " ./bitsandbytes/libbitsandbytes_cuda110.so" ]; then
36+ # Control will enter here if $DIRECTORY doesn't exist.
37+ echo " Compilation unsuccessul!" 1>&2
38+ exit 64
39+ fi
40+
41+ make clean
42+ export CUDA_HOME=$BASE_PATH /cuda-11.1
43+ make cuda11x CUDA_VERSION=111
44+
45+ if [ ! -f " ./bitsandbytes/libbitsandbytes_cuda111.so" ]; then
46+ # Control will enter here if $DIRECTORY doesn't exist.
47+ echo " Compilation unsuccessul!" 1>&2
48+ exit 64
49+ fi
50+
51+ make clean
52+ export CUDA_HOME=$BASE_PATH /cuda-11.4
53+ make cuda11x CUDA_VERSION=114
54+
55+ if [ ! -f " ./bitsandbytes/libbitsandbytes_cuda114.so" ]; then
56+ # Control will enter here if $DIRECTORY doesn't exist.
57+ echo " Compilation unsuccessul!" 1>&2
58+ exit 64
59+ fi
60+
61+ make clean
62+ export CUDA_HOME=$BASE_PATH /cuda-11.5
63+ make cuda11x CUDA_VERSION=115
64+
65+ if [ ! -f " ./bitsandbytes/libbitsandbytes_cuda115.so" ]; then
66+ # Control will enter here if $DIRECTORY doesn't exist.
67+ echo " Compilation unsuccessul!" 1>&2
68+ exit 64
69+ fi
70+
71+ make clean
72+ export CUDA_HOME=$BASE_PATH /cuda-11.7
73+ make cuda11x CUDA_VERSION=117
74+
75+ if [ ! -f " ./bitsandbytes/libbitsandbytes_cuda117.so" ]; then
76+ # Control will enter here if $DIRECTORY doesn't exist.
77+ echo " Compilation unsuccessul!" 1>&2
78+ exit 64
79+ fi
8080
8181make clean
8282export CUDA_HOME=$BASE_PATH /cuda-11.8
83- make cuda12x CUDA_VERSION=118
83+ make cuda118 CUDA_VERSION=118
8484
8585if [ ! -f " ./bitsandbytes/libbitsandbytes_cuda118.so" ]; then
8686 # Control will enter here if $DIRECTORY doesn't exist.
172172
173173make clean
174174export CUDA_HOME=$BASE_PATH /cuda-11.8
175- make cuda12x_nomatmul CUDA_VERSION=118
175+ make cuda118_nomatmul CUDA_VERSION=118
176176
177177if [ ! -f " ./bitsandbytes/libbitsandbytes_cuda118_nocublaslt.so" ]; then
178178 # Control will enter here if $DIRECTORY doesn't exist.
0 commit comments