Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump CUDA version in cuda11x-cuda-python CI #8737

Merged
merged 3 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pfnci/coverage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ CuPy CI Test Coverage
-
* -
- 11.6
- 3
- 2
-
-
-
Expand Down Expand Up @@ -701,7 +701,7 @@ CuPy CI Test Coverage
-
-
-
-
-
-
-
* -
Expand Down Expand Up @@ -747,7 +747,7 @@ CuPy CI Test Coverage
-
* -
- 11.8
- 7
- 8
-
-
-
Expand Down Expand Up @@ -783,7 +783,7 @@ CuPy CI Test Coverage
- ✅
- ✅
- ✅
-
-
- ✅
- ✅
* -
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/linux/tests/cuda11x-cuda-python.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# AUTO GENERATED: DO NOT EDIT!
ARG BASE_IMAGE="nvidia/cuda:11.6.2-devel-ubuntu20.04"
ARG BASE_IMAGE="nvidia/cuda:11.8.0-devel-ubuntu20.04"
FROM ${BASE_IMAGE}

RUN export DEBIAN_FRONTEND=noninteractive && \
Expand Down
2 changes: 1 addition & 1 deletion .pfnci/matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@
tags: ["@push", "full", "mini", "cuda-python"]
system: "linux"
os: "ubuntu:20.04"
cuda: "11.6"
cuda: "11.8"
rocm: null
nccl: "2.16"
cutensor: "2.0"
Expand Down
9 changes: 7 additions & 2 deletions cupyx/_runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,13 @@ def __init__(self, *, full=True):
# CUDA Driver
self.cuda_build_version = str(cupy.cuda.driver.get_build_version())
if cupy.cuda.driver._is_cuda_python():
import cuda
self.cuda_build_version += f' (CUDA Python: {cuda.__version__})'
try:
import cuda.bindings
cuda_version = cuda.bindings.__version__
except ImportError:
import cuda
cuda_version = cuda.__version__
self.cuda_build_version += f' (CUDA Python: {cuda_version})'
self.cuda_driver_version = _eval_or_error(
cupy.cuda.runtime.driverGetVersion,
cupy.cuda.runtime.CUDARuntimeError)
Expand Down