Created
September 11, 2022 05:33
-
-
Save Huangxt57/523da9d64121c49e17cfe4aa1b237732 to your computer and use it in GitHub Desktop.
Reload NVIDIA kernel module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/bin/bash | |
lsmod | grep nvidia | |
rmmod nvidia_uvm | |
rmmod nvidia_drm | |
rmmod nvidia_modeset | |
rmmod nvidia | |
# Check processes using the kernel module | |
lsof /dev/nvidia* | |
modprobe nvidia_drm | |
modprobe nvidia_modeset | |
modprobe nvidia_uvm | |
modprobe nvidia | |
lsmod | grep nvidia | |
nvidia-smi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment