summaryrefslogtreecommitdiff
path: root/deploy_from_slurm.sh
diff options
context:
space:
mode:
authorTim Dettmers <tim.dettmers@gmail.com>2022-07-25 22:34:14 -0700
committerTim Dettmers <tim.dettmers@gmail.com>2022-07-25 22:34:14 -0700
commitf2dd703251aaff826a85c7f77624dfe5cbc91c6c (patch)
treed0e27389fcc826b1db821d62f892266917f16975 /deploy_from_slurm.sh
parent9268dc9d887a3d54cd1f008dcb628aaa5b5bd90a (diff)
Added matmul build and flags.
Diffstat (limited to 'deploy_from_slurm.sh')
-rw-r--r--deploy_from_slurm.sh161
1 files changed, 145 insertions, 16 deletions
diff --git a/deploy_from_slurm.sh b/deploy_from_slurm.sh
index 5a554bb..93233a4 100644
--- a/deploy_from_slurm.sh
+++ b/deploy_from_slurm.sh
@@ -4,88 +4,217 @@ BASE_PATH=$1
module unload cuda
module unload gcc
+#rm -rf dist build
+#make clean
+#make cleaneggs
+#export CUDA_HOME=$BASE_PATH/cuda-11.0
+#make cuda110
+#
+#if [ ! -f "./bitsandbytes/libbitsandbytes.so" ]; then
+# # Control will enter here if $DIRECTORY doesn't exist.
+# echo "Compilation unsuccessul!" 1>&2
+# exit 64
+#fi
+##CUDA_VERSION=110 python -m build
+##python -m twine upload dist/* --verbose
+#
+#rm -rf dist build
+#make clean
+#make cleaneggs
+#export CUDA_HOME=$BASE_PATH/cuda-11.1
+#make cuda11x
+#
+#if [ ! -f "./bitsandbytes/libbitsandbytes.so" ]; then
+# # Control will enter here if $DIRECTORY doesn't exist.
+# echo "Compilation unsuccessul!" 1>&2
+# exit 64
+#fi
+##CUDA_VERSION=111 python -m build
+##python -m twine upload dist/* --verbose
+#
+#rm -rf dist build
+#make clean
+#make cleaneggs
+#export CUDA_HOME=$BASE_PATH/cuda-11.2
+#make cuda11x
+#
+#if [ ! -f "./bitsandbytes/libbitsandbytes.so" ]; then
+# # Control will enter here if $DIRECTORY doesn't exist.
+# echo "Compilation unsuccessul!" 1>&2
+# exit 64
+#fi
+##CUDA_VERSION=112 python -m build
+##python -m twine upload dist/* --verbose
+#
+#rm -rf dist build
+#make clean
+#make cleaneggs
+#export CUDA_HOME=$BASE_PATH/cuda-11.3
+#make cuda11x
+#
+#if [ ! -f "./bitsandbytes/libbitsandbytes.so" ]; then
+# # Control will enter here if $DIRECTORY doesn't exist.
+# echo "Compilation unsuccessul!" 1>&2
+# exit 64
+#fi
+##CUDA_VERSION=113 python -m build
+##python -m twine upload dist/* --verbose
+#
+#rm -rf dist build
+#make clean
+#make cleaneggs
+#export CUDA_HOME=$BASE_PATH/cuda-11.4
+#make cuda11x
+#
+#if [ ! -f "./bitsandbytes/libbitsandbytes.so" ]; then
+# # Control will enter here if $DIRECTORY doesn't exist.
+# echo "Compilation unsuccessul!" 1>&2
+# exit 64
+#fi
+##CUDA_VERSION=114 python -m build
+###python -m twine upload dist/* --verbose
+#
+#rm -rf dist build
+#make clean
+#make cleaneggs
+#export CUDA_HOME=$BASE_PATH/cuda-11.5
+#make cuda11x
+#
+#if [ ! -f "./bitsandbytes/libbitsandbytes.so" ]; then
+# # Control will enter here if $DIRECTORY doesn't exist.
+# echo "Compilation unsuccessul!" 1>&2
+# exit 64
+#fi
+##CUDA_VERSION=115 python -m build
+##python -m twine upload dist/* --verbose
+#
+#rm -rf dist build
+#make clean
+#make cleaneggs
+#export CUDA_HOME=$BASE_PATH/cuda-11.6
+#
+#make cuda11x
+#if [ ! -f "./bitsandbytes/libbitsandbytes.so" ]; then
+# # Control will enter here if $DIRECTORY doesn't exist.
+# echo "Compilation unsuccessul!" 1>&2
+# exit 64
+#fi
+##CUDA_VERSION=116 python -m build
+##python -m twine upload dist/* --verbose
+#
+#rm -rf dist build
+#make clean
+#make cleaneggs
+#export CUDA_HOME=$BASE_PATH/cuda-11.7
+#make cuda11x
+#
+#if [ ! -f "./bitsandbytes/libbitsandbytes.so" ]; then
+# # Control will enter here if $DIRECTORY doesn't exist.
+# echo "Compilation unsuccessul!" 1>&2
+# exit 64
+#fi
+##CUDA_VERSION=117 python -m build
+##python -m twine upload dist/* --verbose
+
+
+rm -rf dist build
+make clean
+make cleaneggs
+export CUDA_HOME=$BASE_PATH/cuda-10.2
+make cuda10x_nomatmul
+
+if [ ! -f "./bitsandbytes/libbitsandbytes.so" ]; then
+ # Control will enter here if $DIRECTORY doesn't exist.
+ echo "Compilation unsuccessul!" 1>&2
+ exit 64
+fi
+#CUDA_VERSION=102-nomatmul python -m build
+#python -m twine upload dist/* --verbose
+
+
rm -rf dist build
make clean
make cleaneggs
export CUDA_HOME=$BASE_PATH/cuda-11.0
-make cuda110
+make cuda110_nomatmul
if [ ! -f "./bitsandbytes/libbitsandbytes.so" ]; then
# Control will enter here if $DIRECTORY doesn't exist.
echo "Compilation unsuccessul!" 1>&2
exit 64
fi
-#CUDA_VERSION=110 python -m build
+#CUDA_VERSION=110-nomatmul python -m build
#python -m twine upload dist/* --verbose
+
rm -rf dist build
make clean
make cleaneggs
export CUDA_HOME=$BASE_PATH/cuda-11.1
-make cuda11x
+make cuda11x_nomatmul
if [ ! -f "./bitsandbytes/libbitsandbytes.so" ]; then
# Control will enter here if $DIRECTORY doesn't exist.
echo "Compilation unsuccessul!" 1>&2
exit 64
fi
-#CUDA_VERSION=111 python -m build
+#CUDA_VERSION=111-nomatmul python -m build
#python -m twine upload dist/* --verbose
rm -rf dist build
make clean
make cleaneggs
export CUDA_HOME=$BASE_PATH/cuda-11.2
-make cuda11x
+make cuda11x_nomatmul
if [ ! -f "./bitsandbytes/libbitsandbytes.so" ]; then
# Control will enter here if $DIRECTORY doesn't exist.
echo "Compilation unsuccessul!" 1>&2
exit 64
fi
-#CUDA_VERSION=112 python -m build
+#CUDA_VERSION=112-nomatmul python -m build
#python -m twine upload dist/* --verbose
rm -rf dist build
make clean
make cleaneggs
export CUDA_HOME=$BASE_PATH/cuda-11.3
-make cuda11x
+make cuda11x_nomatmul
if [ ! -f "./bitsandbytes/libbitsandbytes.so" ]; then
# Control will enter here if $DIRECTORY doesn't exist.
echo "Compilation unsuccessul!" 1>&2
exit 64
fi
-#CUDA_VERSION=113 python -m build
+#CUDA_VERSION=113-nomatmul python -m build
#python -m twine upload dist/* --verbose
rm -rf dist build
make clean
make cleaneggs
export CUDA_HOME=$BASE_PATH/cuda-11.4
-make cuda11x
+make cuda11x_nomatmul
if [ ! -f "./bitsandbytes/libbitsandbytes.so" ]; then
# Control will enter here if $DIRECTORY doesn't exist.
echo "Compilation unsuccessul!" 1>&2
exit 64
fi
-#CUDA_VERSION=114 python -m build
+#CUDA_VERSION=114-nomatmul python -m build
##python -m twine upload dist/* --verbose
rm -rf dist build
make clean
make cleaneggs
export CUDA_HOME=$BASE_PATH/cuda-11.5
-make cuda11x
+make cuda11x_nomatmul
if [ ! -f "./bitsandbytes/libbitsandbytes.so" ]; then
# Control will enter here if $DIRECTORY doesn't exist.
echo "Compilation unsuccessul!" 1>&2
exit 64
fi
-#CUDA_VERSION=115 python -m build
+#CUDA_VERSION=115-nomatmul python -m build
#python -m twine upload dist/* --verbose
rm -rf dist build
@@ -93,25 +222,25 @@ make clean
make cleaneggs
export CUDA_HOME=$BASE_PATH/cuda-11.6
-make cuda11x
+make cuda11x_nomatmul
if [ ! -f "./bitsandbytes/libbitsandbytes.so" ]; then
# Control will enter here if $DIRECTORY doesn't exist.
echo "Compilation unsuccessul!" 1>&2
exit 64
fi
-#CUDA_VERSION=116 python -m build
+#CUDA_VERSION=116-nomatmul python -m build
#python -m twine upload dist/* --verbose
rm -rf dist build
make clean
make cleaneggs
export CUDA_HOME=$BASE_PATH/cuda-11.7
-make cuda11x
+make cuda11x_nomatmul
if [ ! -f "./bitsandbytes/libbitsandbytes.so" ]; then
# Control will enter here if $DIRECTORY doesn't exist.
echo "Compilation unsuccessul!" 1>&2
exit 64
fi
-#CUDA_VERSION=117 python -m build
+#CUDA_VERSION=117-nomatmul python -m build
#python -m twine upload dist/* --verbose