# Settings read by setup_env.sh, run_all.sh, smoke_test.sh and the SLURM scripts. Edit the first block. export POPT_WORK=${POPT_WORK:-/scratch/$USER/pop_pretrain} # uv, Python, venv, raw data (~265 GB), shards (~0.5 TB), runs export SBATCH_CPU_ARGS=${SBATCH_CPU_ARGS:-""} # e.g. "--partition=cpu --account=myproj" export SBATCH_GPU_ARGS=${SBATCH_GPU_ARGS:-""} # e.g. "--partition=gpu --account=myproj" # export HF_TOKEN=hf_... # recommended: higher Hugging Face rate limits # Data and training settings export TARGET_FPS=${TARGET_FPS:-10} # control rate after resampling (Hz) export RES=${RES:-256} # stored image size; training crops and resizes to 224 export CHUNK=${CHUNK:-16} # action chunk length (1.6 s at 10 Hz) export PREP_TASKS=${PREP_TASKS:-8} # preprocessing array tasks export RUN_ID=${RUN_ID:-pretrain-community-s0} export STOP_AFTER_HOURS=${STOP_AFTER_HOURS:-23.5} # keep below the training job's --time; it resubmits itself export HF_HOME=${HF_HOME:-$POPT_WORK/hf_home} # uv: a pinned copy in $POPT_WORK/uv (shell startup files untouched); Python and packages from .python-version # and uv.lock. Every step runs as "uv run --no-sync ...", which never touches the network. export UV_VERSION=0.11.19 export PATH="$POPT_WORK/uv/bin:$PATH" export UV_PROJECT_ENVIRONMENT=${UV_PROJECT_ENVIRONMENT:-$POPT_WORK/venv} export UV_CACHE_DIR=${UV_CACHE_DIR:-$POPT_WORK/uv/cache} export UV_PYTHON_INSTALL_DIR=${UV_PYTHON_INSTALL_DIR:-$POPT_WORK/uv/python} export UV_PYTHON_PREFERENCE=only-managed # the same CPython build on every cluster