Download docker/docker-compose.yml from DaisyChainAI/DaisyChain-Train: direct link, hf CLI and curl.
- Browser
- Download file 1.47 kB
-
https://huggingface.co/DaisyChainAI/DaisyChain-Train/resolve/631a273c48e4b5f3760b5aa0153279144c4456de/docker/docker-compose.yml
- Command line
-
hf download hf://DaisyChainAI/DaisyChain-Train@631a273c48e4b5f3760b5aa0153279144c4456de/docker/docker-compose.yml
-
curl -L -o docker-compose.yml https://huggingface.co/DaisyChainAI/DaisyChain-Train/resolve/631a273c48e4b5f3760b5aa0153279144c4456de/docker/docker-compose.yml
1.47 kB
| # DaisyChain demo cluster: 3 node containers + a dashboard on one Docker network. | |
| # In production each node is a real machine (see docs/TAILSCALE.md); this brings | |
| # the whole thing up on one box so you can see it work. | |
| # | |
| # docker compose -f docker/docker-compose.yml up --build | |
| # open http://localhost:8080 | |
| name: daisychain | |
| x-node: | |
| build: { context: .., dockerfile: docker/Dockerfile } | |
| image: daisychain:latest | |
| environment: | |
| MASTER_ADDR: rank0 | |
| MASTER_PORT: "29560" | |
| WORLD_SIZE: "3" | |
| DAISY_STEPS: "300" | |
| DAISY_STEP_SLEEP: "0.1" # demo pacing so the dashboard shows it live | |
| # train through the emulated GPU logic (verified INT8 units) by default | |
| DAISY_TASK: "daisychain.verified_task:VerifiedTask" | |
| networks: [cluster] | |
| services: | |
| rank0: | |
| <<: | |
| environment: { <<: *env, RANK: "0", DAISY_CAPACITY: "8000" } | |
| rank1: | |
| <<: | |
| depends_on: [rank0] | |
| environment: { <<: *env, RANK: "1", DAISY_CAPACITY: "4000" } | |
| rank2: | |
| <<: | |
| depends_on: [rank0] | |
| environment: { <<: *env, RANK: "2", DAISY_CAPACITY: "2000" } | |
| dashboard: | |
| build: { context: .., dockerfile: docker/dashboard.Dockerfile } | |
| image: daisychain-dashboard:latest | |
| depends_on: [rank0, rank1, rank2] | |
| environment: | |
| DAISY_NODES_FILE: config/nodes.example.json | |
| DAISY_EXPECTED_WORLD: "3" | |
| DAISY_BASE_BATCH: "32" | |
| ports: ["8080:8080"] | |
| networks: [cluster] | |
| networks: | |
| cluster: { driver: bridge } | |