Minimal Python + HPC project skeleton.
After copying, replace project_template in:
pyproject.toml(name,packages)src/project_template/(directory name)scripts/submit.py(PROJECT_NAME,ENTRY_MODULE)mutagen.yml(session name,beta:path)
python -m venv .venv && source .venv/bin/activate
pip install -e .python -m project_template.trainPaths default to repo-relative (./data, ./experiments).
Sync:
mutagen project create -f mutagen.ymlSubmit:
ssh jz
cd /path/on/cluster && python scripts/submit.pysubmit.py rsyncs src/ into a timestamped run dir under $SCRATCH, then exports DATA_DIR / EXPERIMENTS_DIR / HF_HOME before invoking the entry function.
All I/O goes through project_template.paths. Never hardcode paths or read $SCRATCH outside that module.