Download train.sh from datacomp/ImageNetTraining80.0-frac-1over8: direct link, hf CLI and curl.
- Browser
- Download file 207 Bytes
-
https://huggingface.co/spaces/datacomp/ImageNetTraining80.0-frac-1over8/resolve/main/train.sh
- Command line
-
hf download hf://spaces/datacomp/ImageNetTraining80.0-frac-1over8/train.sh
-
curl -L -o train.sh https://huggingface.co/spaces/datacomp/ImageNetTraining80.0-frac-1over8/resolve/main/train.sh
207 Bytes
| NUM_PROC=$1 | |
| shift | |
| # the localhost fixes are from https://github.com/pytorch/pytorch/issues/73320 | |
| torchrun --rdzv_backend c10d --rdzv_endpoint localhost:0 --nproc_per_node=$NUM_PROC train.py "$@" |