xuan-luo's picture
download
raw
1.09 kB
#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
cd "$ROOT"
exec 9>training/kvpath2_rolling_sharedproj/fixed_sequence.lock
flock -n 9 || { echo 'corrected sharedproj cross-machine queue already running'; exit 1; }
export CUDA_VISIBLE_DEVICES="0,1,2,3,4,5,6,7"
export PYTHONUNBUFFERED=1
while nvidia-smi --query-compute-apps=pid --format=csv,noheader | grep -Eq '[0-9]'; do
echo "GPUs occupied; waiting without preemption at $(date -Is)"
sleep 60
done
experiments=(
training/kvpath2_rolling_head64_roll32_local128_sharedproj
training/kvpath2_rolling_head64_roll16_local128_sharedproj
training/kvpath2_rolling_head64_roll8_local128_sharedproj
)
for experiment in "${experiments[@]}"; do
echo "Starting corrected smoke for $experiment at $(date -Is)"
bash training/kvpath2_rolling_sharedproj/run_fixed_smoke.sh "$experiment"
done
for experiment in "${experiments[@]}"; do
echo "Starting corrected formal pipeline for $experiment at $(date -Is)"
bash training/kvpath2_rolling_sharedproj/run_fixed_pipeline.sh "$experiment"
done

Xet Storage Details

Size:
1.09 kB
·
Xet hash:
075167ef02d11702f42435127f6e6c2b81a46c01620a361b43630f5bb9a1a415

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.