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
c577721a
Unverified
Commit
c577721a
authored
Sep 26, 2023
by
Michael Yang
Committed by
GitHub
Sep 26, 2023
Browse files
Merge pull request #605 from jmorganca/mxyng/install.sh
do not unload nouveau driver
parents
7774ed4a
9fc3bba9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
scripts/install.sh
scripts/install.sh
+3
-3
No files found.
scripts/install.sh
View file @
c577721a
...
@@ -227,12 +227,12 @@ if ! lsmod | grep -q nvidia; then
...
@@ -227,12 +227,12 @@ if ! lsmod | grep -q nvidia; then
fi
fi
if
lsmod |
grep
-q
nouveau
;
then
if
lsmod |
grep
-q
nouveau
;
then
status
"
Re
moving nouveau..."
status
'
Re
boot to complete NVIDIA CUDA driver install.'
$SUDO
rmmod nouveau
exit
0
fi
fi
$SUDO
modprobe nvidia
$SUDO
modprobe nvidia
fi
fi
status
"NVIDIA
GPU
installed."
status
"NVIDIA
CUDA drivers
installed."
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