progress / podflow /m4.sh
eyad-silx's picture
Upload podflow/m4.sh with huggingface_hub
4085190 verified
Raw History Blame Contribute Delete
532 Bytes
#!/bin/bash
set -euo pipefail
cd /root
/root/ingot/.venv/bin/python /root/fe.py 2>&1 | tail -3
echo "longest remaining check:"
/root/ingot/.venv/bin/python - <<'PY'
import json
rows = [json.loads(l) for l in open("/root/evalset.jsonl")]
print("rows:", len(rows))
PY
export PATH=/root/ingot/.venv/bin:/usr/local/cuda/bin:$PATH
export INGOT_TEACHER_GPUS=0 INGOT_KING_GPUS=0 INGOT_CHALLENGER_GPUS=0
export INGOT_HIDDEN_STATES_DIR=/root/states-live HF_HUB_OFFLINE=1
cd /root/ingot
exec bash /root/measure.sh 128 /root/models/chal-calib