From ae49c8167c81026d27387e839dff7f33f410a39b Mon Sep 17 00:00:00 2001 From: cedric Date: Sun, 5 Apr 2026 10:26:19 +0000 Subject: [PATCH 1/3] fix: removed pr review section --- docs/HPC.md | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/docs/HPC.md b/docs/HPC.md index f33d512..ff18a5f 100644 --- a/docs/HPC.md +++ b/docs/HPC.md @@ -74,25 +74,6 @@ After installation, run these commands to ensure your environment is set up corr python -c "import torch, jax; print(f'GPU: {torch.cuda.is_available()}'); print(f'JAX: {jax.devices()}')" ``` -## PR Verification (Quick Start) - -If you are a reviewer verifying a PR, run this single block: - -```bash -git checkout -module swap cluster/donphan -qsub -I -l nodes=1:gpus=1 - -# Inside the interactive session: -cd "$PBS_O_WORKDIR" -bash scripts/hpc/install.sh -python -c "import torch, jax; print(torch.cuda.is_available()); print(jax.devices())" -exit - -# Verify batch submission -qsub scripts/hpc/train.pbs -``` - ## Managing Dependencies `env/hpc/requirements.txt` is auto-generated from `pyproject.toml`. To regenerate: From c1ba3900be88dd0c7709ab0d6608859481f524f9 Mon Sep 17 00:00:00 2001 From: cedric Date: Sun, 5 Apr 2026 10:26:39 +0000 Subject: [PATCH 2/3] fix: restored propper logging --- scripts/hpc/train.pbs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/hpc/train.pbs b/scripts/hpc/train.pbs index a5d7a9d..3d53193 100644 --- a/scripts/hpc/train.pbs +++ b/scripts/hpc/train.pbs @@ -6,6 +6,8 @@ #PBS -N brittlestar-ppo #PBS -l nodes=1:ppn=8 #PBS -l walltime=24:00:00 +#PBS -o runs/brittlestar-ppo.o$PBS_JOBID +#PBS -e runs/brittlestar-ppo.e$PBS_JOBID set -euo pipefail From 473a120feb9674efe8f03e29e592df5e7da991da Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Sun, 5 Apr 2026 12:32:02 +0200 Subject: [PATCH 3/3] fix(hpc): create runs dir on first run --- scripts/hpc/install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/hpc/install.sh b/scripts/hpc/install.sh index 8a625a9..d1b69db 100644 --- a/scripts/hpc/install.sh +++ b/scripts/hpc/install.sh @@ -19,6 +19,8 @@ if [ -n "$PBS_O_WORKDIR" ]; then cd "$PBS_O_WORKDIR" fi +mkdir "${PBS_O_WORKDIR}/runs" + # Mirror configs to $VSC_DATA to avoid home quota limits (3GB) # vsc-venv manages environments relative to the requirements file PROJ_NAME=$(basename "$PWD")