Created
March 19, 2020 13:47
-
-
Save nicola-lunghi/538b363ab6dc116b24b6cf19abe5bcfc to your computer and use it in GitHub Desktop.
folding at home run -> https://github.com/coreweave/fah-docker
This file contains hidden or 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/sh -eux | |
| distribution=$(. /etc/os-release; echo $ID$VERSION_ID) | |
| curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - | |
| curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | \ | |
| sudo tee /etc/apt/sources.list.d/nvidia-docker.list | |
| sudo apt-get update && sudo apt-get install -y nvidia-container-toolkit | |
| sudo systemctl restart docker |
This file contains hidden or 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/sh -eux | |
| docker run \ | |
| --gpus all \ | |
| --name fah -p 7396:7396 \ | |
| -v $(pwd)/fah-data:/root \ | |
| -d coreweave/fah-gpu:7.5.1 \ | |
| FAHClient --user=Anonymous --team=0 \ | |
| --gpu=true --smp=true \ | |
| --priority=mid \ | |
| --cpu-usage=80 \ | |
| --web-allow=0/0 \ | |
| --allow=0/0 \ | |
| --gpu-usage=80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment