Skip to content

Instantly share code, notes, and snippets.

@thomasjo
Created July 29, 2021 13:25
Show Gist options
  • Save thomasjo/4ce255ef5c7281d38e4b9c541c391b2c to your computer and use it in GitHub Desktop.
Save thomasjo/4ce255ef5c7281d38e4b9c541c391b2c to your computer and use it in GitHub Desktop.
GPU nuke
cd /sys/devices/pci0000\:00/0000\:00\:03.0/0000\:09\:00.0/0000\:0a\:10.0/0000\:0e\:00.0/
systemctl stop kubelet
systemctl stop docker
echo 1 > remove
systemctl start docker
systemctl start kubelet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment