mirror of
https://github.com/cloudstack-llc/ollama.git
synced 2026-07-19 14:43:30 -04:00
do no unload nouveau driver
This commit is contained in:
+3
-3
@@ -227,12 +227,12 @@ if ! lsmod | grep -q nvidia; then
|
||||
fi
|
||||
|
||||
if lsmod | grep -q nouveau; then
|
||||
status "Removing nouveau..."
|
||||
$SUDO rmmod nouveau
|
||||
status 'Reboot to complete NVIDIA CUDA driver install.'
|
||||
exit 0
|
||||
fi
|
||||
|
||||
$SUDO modprobe nvidia
|
||||
fi
|
||||
|
||||
|
||||
status "NVIDIA GPU installed."
|
||||
status "NVIDIA CUDA drivers installed."
|
||||
|
||||
Reference in New Issue
Block a user