Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
bitsandbytes
Commits
a4097389
Unverified
Commit
a4097389
authored
Dec 03, 2023
by
Titus
Committed by
GitHub
Dec 03, 2023
Browse files
Merge pull request #895 from theamdara/main
Update cuda_install.sh
parents
726f1470
e048dc92
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
cuda_install.sh
cuda_install.sh
+4
-0
No files found.
cuda_install.sh
View file @
a4097389
...
@@ -14,6 +14,7 @@ URL118=https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installer
...
@@ -14,6 +14,7 @@ URL118=https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installer
URL120
=
https://developer.download.nvidia.com/compute/cuda/12.0.0/local_installers/cuda_12.0.0_525.60.13_linux.run
URL120
=
https://developer.download.nvidia.com/compute/cuda/12.0.0/local_installers/cuda_12.0.0_525.60.13_linux.run
URL121
=
https://developer.download.nvidia.com/compute/cuda/12.1.0/local_installers/cuda_12.1.0_530.30.02_linux.run
URL121
=
https://developer.download.nvidia.com/compute/cuda/12.1.0/local_installers/cuda_12.1.0_530.30.02_linux.run
URL122
=
https://developer.download.nvidia.com/compute/cuda/12.2.0/local_installers/cuda_12.2.0_535.54.03_linux.run
URL122
=
https://developer.download.nvidia.com/compute/cuda/12.2.0/local_installers/cuda_12.2.0_535.54.03_linux.run
URL123
=
https://developer.download.nvidia.com/compute/cuda/12.3.1/local_installers/cuda_12.3.1_545.23.08_linux.run
CUDA_VERSION
=
$1
CUDA_VERSION
=
$1
...
@@ -69,6 +70,9 @@ if [[ -n "$CUDA_VERSION" ]]; then
...
@@ -69,6 +70,9 @@ if [[ -n "$CUDA_VERSION" ]]; then
elif
[[
"
$CUDA_VERSION
"
-eq
"122"
]]
;
then
elif
[[
"
$CUDA_VERSION
"
-eq
"122"
]]
;
then
URL
=
$URL122
URL
=
$URL122
FOLDER
=
cuda-12.2
FOLDER
=
cuda-12.2
elif
[[
"
$CUDA_VERSION
"
-eq
"123"
]]
;
then
URL
=
$URL123
FOLDER
=
cuda-12.3
else
else
echo
"argument error: No cuda version passed as input. Choose among versions 92 to 121"
echo
"argument error: No cuda version passed as input. Choose among versions 92 to 121"
fi
fi
...
...
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