Download source/scripts/launch_train.sh from sriharithebest/nayara-v1: direct link, hf CLI and curl.
- Browser
- Download file 424 Bytes
-
https://huggingface.co/sriharithebest/nayara-v1/resolve/main/source/scripts/launch_train.sh
- Command line
-
hf download hf://sriharithebest/nayara-v1/source/scripts/launch_train.sh
-
curl -L -o launch_train.sh https://huggingface.co/sriharithebest/nayara-v1/resolve/main/source/scripts/launch_train.sh
424 Bytes
| set -euo pipefail | |
| export NCCL_ASYNC_ERROR_HANDLING=1 | |
| export NCCL_P2P_LEVEL=PHB | |
| export CUDA_DEVICE_MAX_CONNECTIONS=1 | |
| export OMP_NUM_THREADS=8 | |
| torchrun --standalone --nproc-per-node=7 -m nayara.train \ | |
| --config configs/nayara_350m.json \ | |
| --data /mnt/nvme/nayara/packed \ | |
| --output /mnt/nvme/nayara/checkpoints \ | |
| --micro-batch 32 \ | |
| --grad-accum 2 \ | |
| --max-tokens 3800000000 \ | |
| --stop-at 15:15 | |