Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
bitsandbytes
Commits
62b6a939
Commit
62b6a939
authored
Oct 09, 2022
by
Tim Dettmers
Browse files
Added CUDA 11.8 install and deployment.
parent
ed2e3b9d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
0 deletions
+24
-0
cuda_install.sh
cuda_install.sh
+4
-0
deploy.sh
deploy.sh
+20
-0
No files found.
cuda_install.sh
View file @
62b6a939
...
@@ -10,6 +10,7 @@ URL114=https://developer.download.nvidia.com/compute/cuda/11.4.4/local_installer
...
@@ -10,6 +10,7 @@ URL114=https://developer.download.nvidia.com/compute/cuda/11.4.4/local_installer
URL115
=
https://developer.download.nvidia.com/compute/cuda/11.5.2/local_installers/cuda_11.5.2_495.29.05_linux.run
URL115
=
https://developer.download.nvidia.com/compute/cuda/11.5.2/local_installers/cuda_11.5.2_495.29.05_linux.run
URL116
=
https://developer.download.nvidia.com/compute/cuda/11.6.2/local_installers/cuda_11.6.2_510.47.03_linux.run
URL116
=
https://developer.download.nvidia.com/compute/cuda/11.6.2/local_installers/cuda_11.6.2_510.47.03_linux.run
URL117
=
https://developer.download.nvidia.com/compute/cuda/11.7.0/local_installers/cuda_11.7.0_515.43.04_linux.run
URL117
=
https://developer.download.nvidia.com/compute/cuda/11.7.0/local_installers/cuda_11.7.0_515.43.04_linux.run
URL118
=
https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda_11.8.0_520.61.05_linux.run
CUDA_VERSION
=
$1
CUDA_VERSION
=
$1
...
@@ -52,6 +53,9 @@ if [[ -n "$CUDA_VERSION" ]]; then
...
@@ -52,6 +53,9 @@ if [[ -n "$CUDA_VERSION" ]]; then
elif
[[
"
$CUDA_VERSION
"
-eq
"117"
]]
;
then
elif
[[
"
$CUDA_VERSION
"
-eq
"117"
]]
;
then
URL
=
$URL117
URL
=
$URL117
FOLDER
=
cuda-11.7
FOLDER
=
cuda-11.7
elif
[[
"
$CUDA_VERSION
"
-eq
"118"
]]
;
then
URL
=
$URL118
FOLDER
=
cuda-11.8
else
else
echo
"argument error: No cuda version passed as input. Choose among: {111, 115}"
echo
"argument error: No cuda version passed as input. Choose among: {111, 115}"
fi
fi
...
...
deploy
_from_slurm
.sh
→
deploy.sh
View file @
62b6a939
...
@@ -108,6 +108,16 @@ if [ ! -f "./bitsandbytes/libbitsandbytes_cuda117.so" ]; then
...
@@ -108,6 +108,16 @@ if [ ! -f "./bitsandbytes/libbitsandbytes_cuda117.so" ]; then
exit
64
exit
64
fi
fi
make clean
export
CUDA_HOME
=
$BASE_PATH
/cuda-11.8
make cuda11x
CUDA_VERSION
=
118
if
[
!
-f
"./bitsandbytes/libbitsandbytes_cuda118.so"
]
;
then
# Control will enter here if $DIRECTORY doesn't exist.
echo
"Compilation unsuccessul!"
1>&2
exit
64
fi
make clean
make clean
export
CUDA_HOME
=
$BASE_PATH
/cuda-10.2
export
CUDA_HOME
=
$BASE_PATH
/cuda-10.2
...
@@ -201,5 +211,15 @@ if [ ! -f "./bitsandbytes/libbitsandbytes_cuda117_nocublaslt.so" ]; then
...
@@ -201,5 +211,15 @@ if [ ! -f "./bitsandbytes/libbitsandbytes_cuda117_nocublaslt.so" ]; then
exit
64
exit
64
fi
fi
make clean
export
CUDA_HOME
=
$BASE_PATH
/cuda-11.8
make cuda11x_nomatmul
CUDA_VERSION
=
118
if
[
!
-f
"./bitsandbytes/libbitsandbytes_cuda118_nocublaslt.so"
]
;
then
# Control will enter here if $DIRECTORY doesn't exist.
echo
"Compilation unsuccessul!"
1>&2
exit
64
fi
python
-m
build
python
-m
build
python
-m
twine upload dist/
*
--verbose
python
-m
twine upload dist/
*
--verbose
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment