Skip to content

Commit 4c8880c

Browse files
authored
CI: bump CUDA image to 12.9.1 (#5107)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated CUDA testing environment to a newer runtime version for improved compatibility and stability. * Added installation of the NVIDIA cuBLAS package in CUDA tests to ensure required GPU math libraries are available. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Signed-off-by: Jinzhe Zeng <[email protected]>
1 parent 26013cb commit 4c8880c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/test_cuda.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: nvidia
2020
# https://github.com/deepmodeling/deepmd-kit/pull/2884#issuecomment-1744216845
2121
container:
22-
image: nvidia/cuda:12.6.2-cudnn-devel-ubuntu22.04
22+
image: nvidia/cuda:12.9.1-cudnn-devel-ubuntu22.04
2323
options: --gpus all
2424
if: github.repository_owner == 'deepmodeling' && (github.event_name == 'pull_request' && github.event.label && github.event.label.name == 'Test CUDA' || github.event_name == 'workflow_dispatch' || github.event_name == 'merge_group')
2525
steps:
@@ -49,6 +49,8 @@ jobs:
4949
export TENSORFLOW_ROOT=$(python -c 'import importlib.util,pathlib;print(pathlib.Path(importlib.util.find_spec("tensorflow").origin).parent)')
5050
pip install --find-links "https://www.paddlepaddle.org.cn/packages/nightly/cu126/paddlepaddle-gpu/" --index-url https://pypi.org/simple "paddlepaddle-gpu==3.3.0.dev20251204"
5151
source/install/uv_with_retry.sh pip install --system -v -e .[gpu,test,lmp,cu12,torch,jax] mpi4py --reinstall-package deepmd-kit
52+
# See https://github.com/jax-ml/jax/issues/29042
53+
source/install/uv_with_retry.sh pip install --system -U 'nvidia-cublas-cu12>=12.9.0.13'
5254
env:
5355
DP_VARIANT: cuda
5456
DP_ENABLE_NATIVE_OPTIMIZATION: 1

0 commit comments

Comments
 (0)