From 1771d0a20785340c5c0625a14429d44074c6ae4d Mon Sep 17 00:00:00 2001 From: Sebastian Berg Date: Sat, 13 Jun 2026 09:29:51 +0200 Subject: [PATCH] CI: Bump to ubuntu 24.04 for CI runs and re-activate 3.15t testing It seemed that setup-python 22.04 free-threaded 3.15.0b1 is broken in weird ways (``PyObject_Realloc(0, 128)`` segfaults). But the 24.04 build is fine, since there is probable no real reason to use 22.04 specifically, simply bump to 24.04. (If there is a reason to stick with 22.04, we should just close this.) --- .github/workflows/ci-pixi-source-test.yml | 2 +- .github/workflows/coverage.yml | 2 +- .github/workflows/test-wheel-linux.yml | 2 +- ci/test-matrix.yml | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-pixi-source-test.yml b/.github/workflows/ci-pixi-source-test.yml index 7e1443141c..797ad3e455 100644 --- a/.github/workflows/ci-pixi-source-test.yml +++ b/.github/workflows/ci-pixi-source-test.yml @@ -112,7 +112,7 @@ jobs: timeout-minutes: 90 container: options: -u root --security-opt seccomp=unconfined --shm-size 16g - image: ubuntu:22.04 + image: ubuntu:24.04 steps: - name: Ensure GPU is working run: nvidia-smi diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index f49b021a07..4b8f03beaa 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -47,7 +47,7 @@ jobs: # TODO: use a different (nvidia?) container container: options: -u root --security-opt seccomp=unconfined --shm-size 16g - image: ubuntu:22.04 + image: ubuntu:24.04 env: NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }} PIP_CACHE_DIR: "/tmp/pip-cache" diff --git a/.github/workflows/test-wheel-linux.yml b/.github/workflows/test-wheel-linux.yml index 4d64242ea0..cb5dbc4c86 100644 --- a/.github/workflows/test-wheel-linux.yml +++ b/.github/workflows/test-wheel-linux.yml @@ -118,7 +118,7 @@ jobs: # can nsenter to the host for the install + refresh the toolkit bind mounts # back inside the container. Stock options for latest/earliest rows. options: ${{ ((matrix.DRIVER == 'latest' || matrix.DRIVER == 'earliest') && '-u root --security-opt seccomp=unconfined --shm-size 16g') || '-u root --security-opt seccomp=unconfined --shm-size 16g --privileged --pid=host' }} - image: ubuntu:22.04 + image: ubuntu:24.04 env: NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }} PIP_CACHE_DIR: "/tmp/pip-cache" diff --git a/ci/test-matrix.yml b/ci/test-matrix.yml index 413277bdea..ad12bb243a 100644 --- a/ci/test-matrix.yml +++ b/ci/test-matrix.yml @@ -52,8 +52,7 @@ linux: - { ARCH: 'amd64', PY_VER: '3.14t', CUDA_VER: '13.0.2', LOCAL_CTK: '1', GPU: 'l4', GPU_COUNT: '1', DRIVER: 'latest' } - { ARCH: 'amd64', PY_VER: '3.14t', CUDA_VER: '13.3.0', LOCAL_CTK: '1', GPU: 'l4', GPU_COUNT: '1', DRIVER: 'latest' } - { ARCH: 'amd64', PY_VER: '3.15', CUDA_VER: '13.3.0', LOCAL_CTK: '0', GPU: 'l4', GPU_COUNT: '1', DRIVER: 'latest' } - # Blocked by NVIDIA/cuda-python#2171 - # - { ARCH: 'amd64', PY_VER: '3.15t', CUDA_VER: '13.3.0', LOCAL_CTK: '0', GPU: 'l4', GPU_COUNT: '1', DRIVER: 'latest' } + - { ARCH: 'amd64', PY_VER: '3.15t', CUDA_VER: '13.3.0', LOCAL_CTK: '0', GPU: 'l4', GPU_COUNT: '1', DRIVER: 'latest' } # linux-aarch64 - { ARCH: 'arm64', PY_VER: '3.10', CUDA_VER: '12.9.1', LOCAL_CTK: '1', GPU: 'a100', GPU_COUNT: '1', DRIVER: 'latest' } - { ARCH: 'arm64', PY_VER: '3.10', CUDA_VER: '13.0.2', LOCAL_CTK: '0', GPU: 'l4', GPU_COUNT: '1', DRIVER: 'latest' }