#!/usr/bin/env bash # Upload every artifact of the IN2 / reach work to HuggingFace. # Idempotent: re-running re-uploads changed files and skips identical ones. # Does NOT handle git or the vault logs branch -- see the note at the end. set -uo pipefail cd "$(dirname "$0")" HF=/root/Adhi/BluTrain/envv/bin/hf REPO=unparallelled/BluScriptCP CK=checkpoints_bluscriptcp/rank_0 ok=0; fail=0 up(){ # up