Skip to content

Commit

Permalink
Upgrade NVIDIA drivers for CSCS CI (#161)
Browse files Browse the repository at this point in the history
This fixes the JAX tests error
  • Loading branch information
frostedoyster authored Jan 10, 2025
1 parent c6d3c71 commit de33b25
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 52 deletions.
40 changes: 0 additions & 40 deletions ci/docker/Dockerfile.base

This file was deleted.

14 changes: 2 additions & 12 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,21 @@ include:
- remote: 'https://gitlab.com/cscs-ci/recipes/-/raw/master/templates/v2/.ci-ext.yml'

stages:
- build
- test

build_base_image_job:
stage: build
extends: .container-builder-dynamic-name
timeout: 2h
variables:
DOCKERFILE: ci/docker/Dockerfile.base
WATCH_FILECHANGES: $DOCKERFILE
PERSIST_IMAGE_NAME: $CSCS_REGISTRY_PATH/base/public/sphericart

test_job:
stage: test
extends: .container-runner-daint-gpu
image: $BASE_IMAGE
image: nvcr.io/nvidia/pytorch:24.12-py3
timeout: 2h
script:
- export CUDA_HOME="/usr/local/cuda"
- python3 -m pip install --upgrade pip
- python3 -m pip install tox
- tox
- export Torch_DIR=/usr/local/lib/python3.12/dist-packages/torch/share/cmake/Torch/
- mkdir buildcpp
- cd buildcpp
- export Torch_DIR=/usr/local/lib/python3.10/dist-packages/torch/share/cmake/Torch/
- cmake .. -DSPHERICART_BUILD_TESTS=ON -DSPHERICART_OPENMP=ON -DSPHERICART_BUILD_EXAMPLES=ON -DSPHERICART_ENABLE_CUDA=ON -DSPHERICART_BUILD_TORCH=ON
- cmake --build . --parallel
- ctest
Expand Down

0 comments on commit de33b25

Please sign in to comment.