Download code/train_twin_hyper_4gpu.sh from fhyfhy/Implicit-Reasoning-checkpoints: direct link, hf CLI and curl.
- Browser
- Download file 478 Bytes
-
https://huggingface.co/fhyfhy/Implicit-Reasoning-checkpoints/resolve/main/code/train_twin_hyper_4gpu.sh
- Command line
-
hf download hf://fhyfhy/Implicit-Reasoning-checkpoints/code/train_twin_hyper_4gpu.sh
-
curl -L -o train_twin_hyper_4gpu.sh https://huggingface.co/fhyfhy/Implicit-Reasoning-checkpoints/resolve/main/code/train_twin_hyper_4gpu.sh
478 Bytes
| # 4-GPU DDP training of one task via torchrun. | |
| # Global batch size stays 2048: micro 512/GPU x 4 GPUs x grad_accum 1. | |
| # | |
| # Usage: | |
| # ./train_twin_hyper_4gpu.sh --loop-scheme discoloop | |
| # ./train_twin_hyper_4gpu.sh --gpu 4,5,6,7 --micro-batch-size 256 # accum=2 | |
| # All args are forwarded to train_twin_hyper.sh (later flags win). | |
| set -euo pipefail | |
| cd "$(dirname "${BASH_SOURCE[0]}")" | |
| exec ./train_twin_hyper.sh --gpu 0,1,2,3 --micro-batch-size 512 "$@" | |