[PR #4652] Ensure nvidia and nvidia_uvm kernel modules are loaded in install.sh script and at startup #11554

Closed
opened 2026-04-12 23:32:15 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/ollama/ollama/pull/4652

State: closed
Merged: Yes


Make sure the nvidia and nvidia_uvm kernel modules are loaded on install.

Nvidia has a daemon that takes care of that nvidia-persistenced for restarts, so add both to its config file as well

Lastly, make sure the kernel modules are loaded when re-running the install script, even if drivers are already installed.

Fixes https://github.com/ollama/ollama/issues/4563

**Original Pull Request:** https://github.com/ollama/ollama/pull/4652 **State:** closed **Merged:** Yes --- Make sure the `nvidia` and `nvidia_uvm` kernel modules are loaded on install. Nvidia has a daemon that takes care of that `nvidia-persistenced` for restarts, so add both to its config file as well Lastly, make sure the kernel modules are loaded when re-running the install script, even if drivers are already installed. Fixes https://github.com/ollama/ollama/issues/4563
GiteaMirror added the pull-request label 2026-04-12 23:32:15 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#11554