Skip to content

Commit

Permalink
Test with cuda 12.2
Browse files Browse the repository at this point in the history
  • Loading branch information
joaander committed Dec 6, 2024
1 parent 6ed193d commit a0e4fee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ jobs:
case "${{ inputs.compiler_version }}" in
125)
echo "image=nvidia/cuda:12.5.0-devel-ubuntu22.04" >> "$GITHUB_OUTPUT";;
122)
echo "image=nvidia/cuda:12.2.2-devel-ubuntu22.04" >> "$GITHUB_OUTPUT";;
*)
echo "Unknown compiler" && exit 1;;
esac
Expand Down Expand Up @@ -250,6 +252,10 @@ jobs:
# if: ${{ contains(inputs.config, 'cuda') }}
# run: uv pip install --no-deps fastrlock==0.8.2 cupy-cuda12x==12.3.0

- name: Run nvidia-smi
if: ${{ contains(inputs.config, 'cuda') }}
run: nvidia-smi

### Python unit tests
- name: Run pytest (serial)
run: python3 -m pytest --pyargs hoomd -x -v -ra --durations=0 --durations-min=0.1
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ jobs:
- config: [gcc, 14, -py, 313, -nomd, -nohpmc]
- config: [gcc, 10, -py, 39, -mpi]

- config: [cuda, 125, -py, 313, -mpi]
- config: [cuda, 122, -py, 313, -mpi]
validate: true

- config: [cuda, 125, -py, 313]
- config: [cuda, 122, -py, 313]
validate: true

- config: [cuda, 125, -py, 313, -mpi, -debug]
- config: [cuda, 122, -py, 313, -mpi, -debug]


release:
Expand Down

0 comments on commit a0e4fee

Please sign in to comment.