Download docker/node_entrypoint.sh from DaisyChainAI/DaisyChain-Train: direct link, hf CLI and curl.
- Browser
- Download file 335 Bytes
-
https://huggingface.co/DaisyChainAI/DaisyChain-Train/resolve/main/docker/node_entrypoint.sh
- Command line
-
hf download hf://DaisyChainAI/DaisyChain-Train/docker/node_entrypoint.sh
-
curl -L -o node_entrypoint.sh https://huggingface.co/DaisyChainAI/DaisyChain-Train/resolve/main/docker/node_entrypoint.sh
335 Bytes
| # A DaisyChain node: run the dashboard agent in the background, then train. | |
| # After training, keep the agent alive so the dashboard can still show status. | |
| set -e | |
| python -m daisychain.dashboard.agent & | |
| python -m daisychain.train || echo "[node] training exited" | |
| echo "[node] training done — agent still serving status" | |
| wait | |