GithubHelp home page GithubHelp logo

felipeportella / folding-at-home Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stefancrain/folding-at-home

0.0 1.0 0.0 35 KB

A Folding@Home Docker container with GPU support

License: MIT License

Dockerfile 69.59% Makefile 30.41%

folding-at-home's Introduction

Running Folding@Home in docker with GPU support

build auto-update

GitHub Tag GitHub commit activity Docker Layers Docker Size Docker Stars

Fighting COVID-19, and other diseases

TL;DR: Folding at home is simulating the dynamics of COVID-19 proteins to hunt for new therapeutic opportunities. This container distributes the binary in a hope to increase installs.

FAH links

Unofficial, Unsupported

I'm not a member of the F@H team. I actively work on issues here, and have set this up to automatically update in my absence. This image is published to stefancrain/folding-at-home and automatically updated as the folding-at-home team releases changes.

Support

Deployment

CLI docker run

docker run \
  --gpus all \
  -p 7396:7396 \
  stefancrain/folding-at-home:latest \
  --user=YOUR_NAME_HERE \
  --team=229500 \
  --power=full \
  --gpu-usage=100 \
  --cpu-usage=100

Docker-compose

Docker-compose GPU access is currently blocked by upstream issue in compose #6691, tracked in #4. This will work for CPU folding only :

---
version: "3"
services:
  folding-at-home:
    image: stefancrain/folding-at-home:latest
    container_name: folding-at-home
    ports:
      - 7396:7396
    restart: unless-stopped
    command: ["--user=YOUR_NAME_HERE","--team=229500","--power=full","--gpu=false","--cpu-usage=100"]

K8s

I don't currently have a K8s cluster at home, so I'm including examples of users running this image in their config.

  • onedr0p/k3s-gitops works great but /u/onedrop has no approved GPUs to test
  • coreweave/fah-docker (a different container) but the config to support GPU enabled docker container, untested (by me)

TODO: create k8s cluster and test!

Troubleshooting and FAQ

Nvidia

Does docker see all GPUs?

docker run \
 --rm \
 --gpus all \
 --entrypoint="nvidia-smi" \
 stefancrain/folding-at-home:latest

FAHClient

What are the FAHClient defaults set for this container?

  • User : Anonymous
  • Team : Homelab - 229500
  • Power : full (use full CPU)
  • gpu-usage : 100%
  • cpu-usage : 100%
  • web-allow/allow : allow web traffic to port 7396
  • smp : support smp

How do I review my FAHClient config?

docker run \
 --rm \
 --gpus all \
 --entrypoint="/usr/bin/FAHClient" \
 stefancrain/folding-at-home:latest \
 --info

How can I see additional config options?

docker run \
 --rm \
 --entrypoint="/usr/bin/FAHClient" \
 stefancrain/folding-at-home:latest \
 --help

How can I see my progress?

By default the container is open to local network traffic on 127.0.0.1:7396

folding-at-home's People

Contributors

stefancrain avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.