Controller Modularity in Brittle-Star Robots
https://selab-3-2026.github.io/SEL3-2026-Groep-4/
- Install: redirect XDG_CACHE_HOME, UV_CACHE_DIR, MPLCONFIGDIR to
$VSC_SCRATCH before any pip/module activity ($VSC_HOME is only ~3 GB)
- train.pbs:
- Set same cache env vars at job start
- Write run outputs and WandB cache to $VSC_SCRATCH during the run (fast I/O)
- Copy results to $VSC_DATA/runs/<jobid>/ on completion for persistence
- Redirect PBS stdout/stderr to $VSC_DATA/runs/<jobid>/job.{out,err}
- Add cd $PBS_O_WORKDIR as first step (HPC best practice)
|
||
|---|---|---|
| .agents | ||
| .devcontainer | ||
| .github/workflows | ||
| configs | ||
| docs | ||
| env/hpc | ||
| experiments | ||
| scripts | ||
| src | ||
| tests | ||
| .commitlintrc.json | ||
| .gitattributes | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| .python-version | ||
| flake.lock | ||
| flake.nix | ||
| pyproject.toml | ||
| README.md | ||
| ruff.toml | ||
| uv.lock | ||
Brittle Star
Usage
UV
To set up the UV module, you can run the following command:
uv sync --frozen
example command:
uv run src/train.py --model_name my_model --epochs 50 --batch_size 32
HPC
See docs/HPC.md for the full guide, including environment setup, cluster selection, interactive debugging, and job submission.