diff --git a/.gitignore b/.gitignore index 8c53e19..b0567ce 100644 --- a/.gitignore +++ b/.gitignore @@ -373,7 +373,6 @@ celerybeat.pid # Environments .env .venv -env/ venv/ ENV/ env.bak/ diff --git a/docs/HPC.md b/docs/HPC.md index 33c06df..b580edd 100644 --- a/docs/HPC.md +++ b/docs/HPC.md @@ -55,7 +55,11 @@ export UV_CACHE_DIR="$VSC_SCRATCH/.cache/uv" # Change to the project directory and activate environment cd "$PBS_O_WORKDIR" module load vsc-venv -source vsc-venv --activate --modules env/hpc/modules.txt +set +u +source vsc-venv --activate \ + --modules env/hpc/modules.txt \ + --requirements env/hpc/requirements.txt +set -u # Set headless rendering backend export MUJOCO_GL=egl diff --git a/env/hpc/modules.txt b/env/hpc/modules.txt index 0955932..0617883 100644 --- a/env/hpc/modules.txt +++ b/env/hpc/modules.txt @@ -4,4 +4,4 @@ Optax/0.2.2-gfbf-2023a-CUDA-12.1.1 wandb/0.16.1-GCC-12.3.0 matplotlib/3.7.2-gfbf-2023a PyYAML/6.0-GCCcore-12.3.0 -FFmpeg/5.1.2-GCCcore-12.3.0 +FFmpeg/6.0-GCCcore-12.3.0 diff --git a/scripts/hpc/train.pbs b/scripts/hpc/train.pbs index 90f4345..c5296b5 100644 --- a/scripts/hpc/train.pbs +++ b/scripts/hpc/train.pbs @@ -31,7 +31,9 @@ mkdir -p "$PIP_CACHE_DIR" "$UV_CACHE_DIR" "$SCRATCH_RUNDIR" "$DATA_RUNDIR" runs/ module load vsc-venv set +u -source vsc-venv --activate --modules env/hpc/modules.txt +source vsc-venv --activate \ + --modules env/hpc/modules.txt \ + --requirements env/hpc/requirements.txt set -u export MUJOCO_GL=egl