File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
.github/workflows/phoenix Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,20 @@ if [ "$job_device" == "gpu" ]; then
88 device_opts=" --gpu -g $gpu_ids "
99fi
1010
11- mkdir -p /storage/scratch1/6/sbryngelson3/mytmp_build
12- export TMPDIR=/storage/scratch1/6/sbryngelson3/mytmp_build
11+ tmpbuild=/storage/scratch1/6/sbryngelson3/mytmp_build
12+ currentdir=$tmpbuild /run-$(( RANDOM % 900 ))
13+ mkdir -p $tmpbuild
14+ mkdir -p $currentdir
15+
16+ export TMPDIR=$currentdir
1317
1418if [" $job_device " == " gpu" ]; then
1519 ./mfc.sh bench --mem 12 -j $( nproc) -o " $job_slug .yaml" -- -c phoenix-bench $device_opts -n $n_ranks
1620else
1721 ./mfc.sh bench --mem 1 -j $( nproc) -o " $job_slug .yaml" -- -c phoenix-bench $device_opts -n $n_ranks
1822fi
1923
20- rm -rf $TMPDIR || true
24+ sleep 10
25+ rm -rf $currentdir || true
2126
2227unset TMPDIR
You can’t perform that action at this time.
0 commit comments