Repository navigation
[CI] Build trim CUDA with CUDA 13.4 and GCC 16 - #11
Merged
Merged
Conversation
Assisted-by: Codex Signed-off-by: cyy <[email protected]>
The CUDA 13.4 builder defaults to GCC 13, but trim requires GCC 16 and libstdc++ 16. Install the conda-forge GCC/G++ 16.2 toolchain with a glibc 2.28 sysroot and select it for C++ and nvcc host compilation. Record the compiler version with the existing CI artifacts. Test Plan: ```sh .venv/bin/lintrunner -a --take GHA,ACTIONLINT,NEWLINE -- .github/workflows/cuda-ci.yml .ci/RELEASE.md git diff --check ``` Both checks passed. Runtime validation is recorded in the PR. Assisted-by: OpenAI Codex Signed-off-by: cyy <[email protected]>
cyyever
force-pushed
the
ci/fix-cuda-image
branch
from
October 30, 2026 11:46
5e4f840 to
c6086a1
Compare
cyyever
marked this pull request as ready for review
October 30, 2026 14:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Linked issue or supporting maintainer
BC-breaking?
No product API change.
Summary (human written only)
Agent details (AI-generated)
The trim CUDA job cannot pull the matrix-derived
cuda13.3image. The available CUDA 13.4 builder then fails configuration because its default GCC 13 is below trim's GCC 16 requirement. Pin the CUDA 13.4 image and install conda-forge GCC/G++ 16.2.0 with a glibc 2.28 sysroot inside the job container.CC,CXXandCUDAHOSTCXXselect GCC 16 for C++ and nvcc host compilation; the matching libstdc++ runtime is added to the library path. Upload the compiler version alongside the existing SHA/image/test artifacts. The job still builds its triggering SHA with Python 3.14 and runstest/test_cuda.py. Runner provisioning and the release matrix are unchanged. Rebased on trim after #13.Validation:
lintrunner -a --take GHA,ACTIONLINT,NEWLINE -- .github/workflows/cuda-ci.yml .ci/RELEASE.mdandgit diff --checkpassed.AI assistance: OpenAI Codex. This updates the existing image-fix PR rather than opening a duplicate.