From e062ed2ee9be6c829da0c3fa9fc4e4f1aab95bb0 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Mon, 27 Jul 2026 11:38:51 -0400 Subject: [PATCH 1/2] chore(ci): bump NVHPC to 26.5 Assisted-by: ClaudeCode:claude-opus-5 --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2ad1178395..f0f8f3fdea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -390,7 +390,7 @@ jobs: ubuntu-nvhpc: if: github.event.pull_request.draft == false runs-on: ubuntu-24.04 - name: "🐍 3 • NVHPC 25.11 • C++17 • x64" + name: "🐍 3 • NVHPC 26.5 • C++17 • x64" timeout-minutes: 90 env: @@ -413,9 +413,9 @@ jobs: run: | sudo apt-get update -y sudo apt-get install -y cmake environment-modules git python3-dev python3-pip python3-numpy - sudo apt-get install -y --no-install-recommends nvhpc-25-11 + sudo apt-get install -y --no-install-recommends nvhpc-26-5 sudo rm -rf /var/lib/apt/lists/* - apt-cache depends nvhpc-25-11 + apt-cache depends nvhpc-26-5 python3 -m pip install --upgrade pip python3 -m pip install --upgrade pytest @@ -425,7 +425,7 @@ jobs: shell: bash run: | source /etc/profile.d/modules.sh - module load /opt/nvidia/hpc_sdk/modulefiles/nvhpc/25.11 + module load /opt/nvidia/hpc_sdk/modulefiles/nvhpc/26.5 cmake -S . -B build -DDOWNLOAD_CATCH=ON \ -DCMAKE_CXX_STANDARD=17 \ -DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)") \ From bb3feaeee6455585908a95a6addd030d7d6b4fdf Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 29 Jul 2026 11:46:41 -0400 Subject: [PATCH 2/2] chore(ci): download NVHPC deb with curl retries to dodge CDN 404s Assisted-by: ClaudeCode:claude-fable-5 --- .github/workflows/ci.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f0f8f3fdea..b9e46d37d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -404,21 +404,23 @@ jobs: sudo rm -rf /usr/local/lib/android /usr/share/dotnet /opt/ghc /opt/hostedtoolcache/CodeQL sudo apt-get clean - - name: Add NVHPC Repo - run: | - echo 'deb [trusted=yes] https://developer.download.nvidia.com/hpc-sdk/ubuntu/amd64 /' | \ - sudo tee /etc/apt/sources.list.d/nvhpc.list - - - name: Install 🐍 3 & NVHPC + - name: Install 🐍 3 run: | sudo apt-get update -y sudo apt-get install -y cmake environment-modules git python3-dev python3-pip python3-numpy - sudo apt-get install -y --no-install-recommends nvhpc-26-5 - sudo rm -rf /var/lib/apt/lists/* - apt-cache depends nvhpc-26-5 python3 -m pip install --upgrade pip python3 -m pip install --upgrade pytest + # Downloaded with curl instead of apt: the Akamai CDN in front of + # developer.download.nvidia.com intermittently 404s, and apt neither + # retries 404s nor resumes a broken 5 GB transfer. + - name: Install NVHPC + run: | + curl -fSLO --retry 10 --retry-all-errors --retry-delay 15 --continue-at - \ + https://developer.download.nvidia.com/hpc-sdk/ubuntu/amd64/nvhpc-26-5_26.5-0_amd64.deb + sudo apt-get install -y --no-install-recommends ./nvhpc-26-5_26.5-0_amd64.deb + rm nvhpc-26-5_26.5-0_amd64.deb + # On some systems, you many need further workarounds: # https://github.com/pybind/pybind11/pull/2475 - name: Configure