File size: 753 Bytes
c6a8401
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env bash
# Array body: SLURM_ARRAY_TASK_ID -> task (small bcurve tasks first so a bug shows in minutes).
ROOT=/proj/dmfexp/zwhong/rsm_rise
T=(two_piece_bcurve_m0 two_piece_bcurve_m25 two_piece_bcurve_m50 two_piece_bcurve_m100 square_sub_20100
   square_expert_play two_piece_expert_suboptimal two_piece_expert_play_tipping two_piece_expert_play
   mug_expert_suboptimal threading_expert_play)
t=${T[${SLURM_ARRAY_TASK_ID:-${1:-0}}]}
mkdir -p $ROOT/scratch/hf_push/sim_stage/$t $ROOT/scratch/hf_push/results
exec bash $ROOT/scripts/hf_push/run_hf.sh $ROOT/scripts/hf_push/hf_upload_stage.py rli14/rsm_rise_sim_checkpoints \
  $ROOT/scratch/hf_push/sim_map.tsv "$t/" $ROOT/scratch/hf_push/sim_stage/$t $ROOT/scratch/hf_push/results/sim_$t.json