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
ollama
Commits
54a79d6a
Unverified
Commit
54a79d6a
authored
Jun 20, 2024
by
Daniel Hiltgen
Committed by
GitHub
Jun 20, 2024
Browse files
Merge pull request #5125 from dhiltgen/fedora39
Bump latest fedora cuda repo to 39
parents
e01e535c
1a1c99e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
scripts/install.sh
scripts/install.sh
+1
-1
No files found.
scripts/install.sh
View file @
54a79d6a
...
@@ -279,7 +279,7 @@ if ! check_gpu nvidia-smi || [ -z "$(nvidia-smi | grep -o "CUDA Version: [0-9]*\
...
@@ -279,7 +279,7 @@ if ! check_gpu nvidia-smi || [ -z "$(nvidia-smi | grep -o "CUDA Version: [0-9]*\
case
$OS_NAME
in
case
$OS_NAME
in
centos|rhel
)
install_cuda_driver_yum
'rhel'
$(
echo
$OS_VERSION
|
cut
-d
'.'
-f
1
)
;;
centos|rhel
)
install_cuda_driver_yum
'rhel'
$(
echo
$OS_VERSION
|
cut
-d
'.'
-f
1
)
;;
rocky
)
install_cuda_driver_yum
'rhel'
$(
echo
$OS_VERSION
|
cut
-c1
)
;;
rocky
)
install_cuda_driver_yum
'rhel'
$(
echo
$OS_VERSION
|
cut
-c1
)
;;
fedora
)
[
$OS_VERSION
-lt
'3
7
'
]
&&
install_cuda_driver_yum
$OS_NAME
$OS_VERSION
||
install_cuda_driver_yum
$OS_NAME
'3
7
'
;;
fedora
)
[
$OS_VERSION
-lt
'3
9
'
]
&&
install_cuda_driver_yum
$OS_NAME
$OS_VERSION
||
install_cuda_driver_yum
$OS_NAME
'3
9
'
;;
amzn
)
install_cuda_driver_yum
'fedora'
'37'
;;
amzn
)
install_cuda_driver_yum
'fedora'
'37'
;;
debian
)
install_cuda_driver_apt
$OS_NAME
$OS_VERSION
;;
debian
)
install_cuda_driver_apt
$OS_NAME
$OS_VERSION
;;
ubuntu
)
install_cuda_driver_apt
$OS_NAME
$(
echo
$OS_VERSION
|
sed
's/\.//'
)
;;
ubuntu
)
install_cuda_driver_apt
$OS_NAME
$(
echo
$OS_VERSION
|
sed
's/\.//'
)
;;
...
...
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