diff options
| author | yurenh <blackhao0426@gmail.com> | 2026-08-31 18:38:42 -0500 |
|---|---|---|
| committer | yurenh <blackhao0426@gmail.com> | 2026-08-31 18:38:42 -0500 |
| commit | d75a36d29aabbc15031a292caa52e565fdd7ea44 (patch) | |
| tree | ab05e3328e8f801e72b0177218b8fae99acb5c22 /scripts/run_ladder.sh | |
| parent | b270eb58e22deb9f6a1c5342db41d531232ded0d (diff) | |
HF upload tooling: env-only auth, scoped-token guidance, optional ladder auto-upload
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GkgLsACEF6CCP7EUfA5fZe
Diffstat (limited to 'scripts/run_ladder.sh')
| -rwxr-xr-x | scripts/run_ladder.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/run_ladder.sh b/scripts/run_ladder.sh index 17219bd..1d412a0 100755 --- a/scripts/run_ladder.sh +++ b/scripts/run_ladder.sh @@ -66,4 +66,9 @@ for size in $SIZES; do touch "$dir/DONE" done done +if [ "${HF_UPLOAD:-0}" = 1 ]; then + TAG=${HF_TAG:-$(hostname)-$(date +%Y%m%d)} + python scripts/collect.py --runs "$OUT" --out "results/$TAG" + python scripts/upload_hf.py --results "results/$TAG" ${HF_REPO:+--repo "$HF_REPO"} ${HF_CKPT:+--with-ckpt "$OUT"} +fi echo "== ladder complete: $OUT" |
