File size: 693 Bytes
643267a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #!/usr/bin/env bash
# Start a 200M-token training check from the released FA-32 weights.
# This starts a new optimizer and schedule; it does not resume the paper run.
set -euo pipefail
: "${DATA:?Set DATA to the prepared training directory}"
: "${VALIDATION:?Set VALIDATION to the prepared validation directory}"
: "${CHECKPOINT:?Set CHECKPOINT to the verified FA-32 model bundle}"
PAT_ROOT="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)"
exec torchrun --standalone --nproc_per_node=2 -m pat.train \
--config "$PAT_ROOT/configs/fa32_200m.json" \
--data "$DATA" \
--validation "$VALIDATION" \
--output "${OUTPUT:-runs/fa32-200m}" \
--init-checkpoint "$CHECKPOINT" \
"$@"
|