Upload reinstall-gpu-drivers.sh with huggingface_hub
Browse files- reinstall-gpu-drivers.sh +7 -0
reinstall-gpu-drivers.sh
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
echo "this will reinstall all nvidia drivers again..."
|
4 |
+
sudo apt-get purge nvidia*
|
5 |
+
sudo add-apt-repository ppa:graphics-drivers/ppa
|
6 |
+
sudo apt update
|
7 |
+
nvidia-smi
|