1
Fork 0
Commit graph

99 commits

Author SHA1 Message Date
cedric
9920ac35aa fix: removed wandb, for logging pr ; removed pbs output directive from train.pbs, did not work. 2026-04-05 09:29:47 +00:00
fb346a06b2 refactor(hpc): ruff checks 2026-04-05 08:06:26 +02:00
ef380d073f Merge branch 'dev' into ci/hpc 2026-04-05 08:01:38 +02:00
3db714475f doc(hpc): resource specifiers 2026-04-05 07:58:03 +02:00
24ae7a2399 fix(hpc): overriding args 2026-04-05 07:35:01 +02:00
d33dc32506 feat(hpc): debug logging 2026-04-05 07:17:48 +02:00
75fd385a88 feat(hpc): tensorboard analysis 2026-04-05 06:57:15 +02:00
059ac681ec fixup! fixup! fix(hpc): rework modules again 2026-04-05 00:36:11 +02:00
3e586da953 fixup! fix(hpc): rework modules again 2026-04-05 00:22:04 +02:00
a02b5d5f16 fix(hpc): disk quota 2026-04-05 00:13:25 +02:00
3f9c751312 fix(hpc): pip cache 2026-04-04 23:58:32 +02:00
a705154617 fix(hpc): rework modules again 2026-04-04 23:53:51 +02:00
github-actions[bot]
c8b4df71bb chore(hpc): update env/hpc/requirements.txt from pyproject.toml [skip ci] 2026-04-04 21:36:25 +00:00
6065603fbd fix(hpc): cuda 2026-04-04 23:35:48 +02:00
7e902aa8b6 fixup! fix(hpc): numpy 2026-04-04 23:20:12 +02:00
1b15932369 refactor(hpc): cleanup 2026-04-04 23:04:19 +02:00
70dd8c3161 fix(hpc): numpy 2026-04-04 22:58:47 +02:00
520d429bac fix(hpc): hardening 2026-04-04 22:48:16 +02:00
15319890a6 fix(hpc): streamlined install 2026-04-04 22:24:04 +02:00
78aa20868e feat(hpc): smart cluster modules 2026-04-04 21:53:32 +02:00
51da258feb refactor(hpc): more verbose 2026-04-04 21:40:07 +02:00
912574339e fix(hpc): package versions mismatches 2026-04-04 21:30:41 +02:00
f8e0ca277c refactor: cleanups 2026-04-04 21:25:59 +02:00
7d81f94835 fix(hpc): modules loading 2026-04-04 21:12:23 +02:00
745c09e524 fix(hpc): add PyTorch module to minimize uv 2026-04-04 20:50:16 +02:00
2d08023abb fix(hpc): modules 2026-04-04 20:38:30 +02:00
a512682edd fix(hpc): additional insights 2026-04-04 20:26:09 +02:00
4339978cc6 fix(hpc): relax unbound variables 2026-04-04 20:04:05 +02:00
74e807472b feat(hpc): update PBS script with renamed --env-config-path flag 2026-04-04 19:07:05 +02:00
ed20325fef feat(hpc): rename config_path to env_config_path and support YAML configs 2026-04-04 19:07:01 +02:00
457a23e5cb docs(hpc): correct Tyro flag in smoke test comment 2026-04-04 19:03:43 +02:00
798a8ee9e6 feat(hpc): correct Tyro flags in PBS submission script 2026-04-04 19:03:38 +02:00
2248d52e0b chore: remove Scripts from .gitignore to allow project scripts/ dir 2026-04-04 19:02:37 +02:00
d1ca7a0f9f feat(hpc): pass scratch directory as run_dir in PBS script 2026-04-04 19:02:26 +02:00
0aeff0f2da feat(hpc): include git hash in run_name for traceability 2026-04-04 19:02:06 +02:00
bd06feea5f chore: remove PDFs from git tracking and ignore them 2026-04-04 18:59:48 +02:00
92de38608f chore(hpc): finalize hpc settings and scripts
- Update train.pbs to default to smoke test for safety
- Update .gitignore and ruff.toml
- Sync uv.lock (removing python 3.11 remnants)
- Refine smoke test config
2026-04-04 18:59:38 +02:00
92db8c2591 feat(hpc): support run_dir staging and update docs
- Add run_dir and checkpoint_frequency to PPOArgs
- Update train.py to use run_dir for SummaryBoard, model saving, and loss plots
- Create configs/production_training.yaml for HPC production runs
- Update HPC.md with run_dir staging strategy details
2026-04-04 18:59:05 +02:00
34a887cd58 refactor(hpc): use explicit PIP_CACHE_DIR/UV_CACHE_DIR, drop prose comments
Match comment style from previous cleanup commit:
- No section divider bars, no echo progress lines, no prose comments
  on obvious commands
- Replace XDG_CACHE_HOME with explicit PIP_CACHE_DIR and UV_CACHE_DIR
- Drop MPLCONFIGDIR (matplotlib cache is negligible in size)
2026-04-04 18:48:06 +02:00
cd2e594d1b docs(hpc): add storage overview, cache redirect instructions, update smoke test path
- Add storage table ($VSC_HOME / $VSC_DATA / $VSC_SCRATCH) with guidance
- Document cache redirect requirement in interactive sessions
- Update smoke test path to configs/hpc/smoke_test.yaml
- Describe train.pbs output staging behaviour
2026-04-04 18:39:53 +02:00
7bcfa66685 feat(hpc): route caches to $VSC_SCRATCH, outputs to $VSC_DATA
- 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)
2026-04-04 18:39:45 +02:00
8b068086c8 revert(build): restore python >=3.12 constraint
HPC module Python/3.12.3-GCCcore-13.3.0 satisfies >=3.12, so the
relaxation to >=3.11 was unnecessary. No package version changed.
2026-04-04 18:39:33 +02:00
08d54b73b4 refactor: comment cleanups 2026-04-04 18:30:10 +02:00
953e102483 docs(hpc): add docs/HPC.md and simplify README
- docs/HPC.md: cluster table, setup with vsc-venv, interactive debug
  (shell + JupyterLab on donphan), PBS batch submission, dependency mgmt
- README.md: HPC section condensed to a single link to docs/HPC.md
2026-04-04 18:12:33 +02:00
9dce017525 refactor(hpc): migrate to PBS/vsc-venv, reorganise scripts under scripts/hpc/
- Replace Slurm headers with PBS (#PBS) directives
- Replace manual module+venv logic with vsc-venv --activate
- Cluster selection via 'module swap cluster/<name>' before qsub
- MUJOCO_GL=egl retained: required for headless physics sim and video rendering
- Delete deprecated scripts/hpc_install.sh and scripts/hpc_train.slurm
2026-04-04 18:11:38 +02:00
14fd832283 ci(hpc): auto-update env/hpc/requirements.txt on pyproject.toml changes 2026-04-04 18:10:55 +02:00
23f0b45614 feat(hpc): add structured env/hpc config and requirements export script
- env/hpc/modules.txt: curated list of HPC EasyBuild modules loaded by vsc-venv
- env/hpc/requirements.txt: pip packages not covered by HPC modules (auto-generated)
- scripts/export_hpc_requirements.py: developer utility to regenerate requirements.txt
  from pyproject.toml; to be called by CI when pyproject.toml changes
2026-04-04 18:10:38 +02:00
f2139fb419 fix(hpc): enable wandb tracking by default on compute nodes 2026-04-04 17:37:47 +02:00
205b284b96 feat(hpc): parse missing dependencies dynamically from pyproject 2026-04-04 17:37:47 +02:00
Cedric Mekeirle
4956e1593d
Merge pull request #6 from SELab-3-2026/chore/MLP_Designs
Semi Generic MLP library.
2026-04-03 12:55:37 +02:00