xuan-luo's picture
download
raw
742 Bytes
#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
cd "$ROOT"
exec 9>training/kvpath2_rolling_sharedproj/sequence.lock
flock -n 9 || { echo '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 -q '[0-9]'; do
echo "GPUs occupied; waiting without preemption at $(date -Is)"
sleep 60
done
echo "Starting roll32 pipeline at $(date -Is)"
bash training/kvpath2_rolling_head64_roll32_local128_sharedproj/run_pipeline.sh
echo "Starting roll16 pipeline at $(date -Is)"
bash training/kvpath2_rolling_head64_roll16_local128_sharedproj/run_pipeline.sh

Xet Storage Details

Size:
742 Bytes
·
Xet hash:
f83a71f39ca71d548acdbbf96d744d0d01f2d8e1888a5e08cddcd66f156740e3

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