Skip to content
Snippets Groups Projects
Commit 509327c2 authored by Jonathan Hartman's avatar Jonathan Hartman
Browse files

fix module load order

parent ec525e3b
No related branches found
No related tags found
No related merge requests found
Pipeline #1539335 failed
...@@ -30,15 +30,15 @@ prepare_data: ...@@ -30,15 +30,15 @@ prepare_data:
SLURM_PARAMTIME: "-t 10:00" SLURM_PARAMTIME: "-t 10:00"
stage: prepare_data stage: prepare_data
before_script: before_script:
- python -m pip install poetry
- poetry config virtualenvs.create false
- poetry install
script:
- module load GCCcore/.13.3.0 - module load GCCcore/.13.3.0
- module load Python/3.12.3 - module load Python/3.12.3
- module load GCC/12.3.0 - module load GCC/12.3.0
- module load OpenMPI/4.1.5 - module load OpenMPI/4.1.5
- module load PyTorch/2.1.2-CUDA-12.1.1 - module load PyTorch/2.1.2-CUDA-12.1.1
- python -m pip install poetry
- poetry config virtualenvs.create false
- poetry install
script:
- echo "I would be preparing the data..." - echo "I would be preparing the data..."
test_hpc: test_hpc:
...@@ -51,11 +51,12 @@ test_hpc: ...@@ -51,11 +51,12 @@ test_hpc:
variables: variables:
SLURM_PARAM_CPUS: "--cpus-per-task 1" SLURM_PARAM_CPUS: "--cpus-per-task 1"
SLURM_PARAMTIME: "-t 10:00" SLURM_PARAMTIME: "-t 10:00"
script: before_script:
- module load GCCcore/.13.3.0 - module load GCCcore/.13.3.0
- module load Python/3.12.3 - module load Python/3.12.3
- module load GCC/12.3.0 - module load GCC/12.3.0
- module load OpenMPI/4.1.5 - module load OpenMPI/4.1.5
- module load PyTorch/2.1.2-CUDA-12.1.1 - module load PyTorch/2.1.2-CUDA-12.1.1
script:
- python -m pip install --user python-dotenv matplotlib tqdm torchvision==0.16 - python -m pip install --user python-dotenv matplotlib tqdm torchvision==0.16
- python main.py --debug - python main.py --debug
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment