TRACE-VLA code snapshot 2026-11-22 11:47 +07: 456 canonical files + SHA256 manifest + sync report
b4396f0 verified Download code/sera_v4/tools/chain_f2_e.sh from phammminhhieu/trace-vla-code: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/phammminhhieu/trace-vla-code/resolve/main/code/sera_v4/tools/chain_f2_e.sh
- Command line
-
hf download hf://phammminhhieu/trace-vla-code/code/sera_v4/tools/chain_f2_e.sh
-
curl -L -o chain_f2_e.sh https://huggingface.co/phammminhhieu/trace-vla-code/resolve/main/code/sera_v4/tools/chain_f2_e.sh
1.03 kB
| # Chain waiter #2 (Rule #1): F1 (running) -> F2 -> arm E -> E measurements. | |
| # Sequential: whenever the current train_v4.py process exits, launch the | |
| # next leg immediately. Logs to ~/sera_v4_experiments/chain_f2_e.log. | |
| set -u | |
| LOG="$HOME/sera_v4_experiments/chain_f2_e.log" | |
| TOOLS="$HOME/sera_v4_experiments/tools" | |
| wait_gone() { | |
| for i in $(seq 1 480); do | |
| pgrep -f "train_v4.py" > /dev/null || return 0 | |
| sleep 30 | |
| done | |
| } | |
| echo "CHAIN2_START $(date -Is)" >> "$LOG" | |
| wait_gone | |
| echo "F1_PROC_GONE $(date -Is)" >> "$LOG" | |
| bash "$TOOLS/run_f2.sh" >> "$LOG" 2>&1 | |
| echo "F2_LAUNCHED $(date -Is)" >> "$LOG" | |
| sleep 90 | |
| wait_gone | |
| echo "F2_PROC_GONE $(date -Is)" >> "$LOG" | |
| bash "$TOOLS/run_arm_e.sh" >> "$LOG" 2>&1 | |
| echo "E_LAUNCHED $(date -Is)" >> "$LOG" | |
| sleep 90 | |
| wait_gone | |
| echo "E_PROC_GONE $(date -Is)" >> "$LOG" | |
| setsid nohup env BATCH=8 bash "$TOOLS/measure_steps.sh" sera-v4-e-entropy e-entropy 2000 5000 10000 \ | |
| >> "$HOME/sera_v4_experiments/measurement/e-measure.log" 2>&1 & | |
| echo "E_MEASURE_LAUNCHED $(date -Is)" >> "$LOG" | |