Skip to content

[CI] Install OpenBLAS in the trim CUDA build environment - #14

Merged
cyyever merged 1 commit into
trimfrom
ci/cuda-build-dependencies
Oct 31, 2026
Merged

cyyever merged 1 commit into
trimfrom
ci/cuda-build-dependencies

Conversation

@cyyever

@cyyever cyyever commented Oct 31, 2026

Copy link
Copy Markdown
Collaborator

Linked issue or supporting maintainer

BakeLab maintainer request: “好的,在pytorch ci增加pr”.

BC-breaking?

No.

Summary (human written only)

“好的,在pytorch ci增加pr”

Agent details (AI-generated)

Gitea run #208 successfully identifies GCC/G++ 16.2 and CUDA 13.4, then fails because trim requires OpenBLAS and the selected builder lacks its headers/library.

Add openblas to the existing conda environment and set OpenBLAS_HOME for the repository's CMake finder. The existing LD_LIBRARY_PATH already includes this environment's libraries. Update the short CI documentation. Dependencies stay inside the PyTorch workflow container; no BB preset changes.

Validation: targeted lintrunner -a --take GHA,ACTIONLINT,NEWLINE and git diff --check passed. Confirmed the Linux x86-64 conda-forge OpenBLAS package and its runtime dependency. The full CUDA build has not yet been rerun with this fix.

AI assistance: OpenAI Codex. Draft for review and runtime validation.

Trim requires OpenBLAS, but the manylinux CUDA image does not provide its
headers and library. Install OpenBLAS alongside GCC 16 and point the existing
CMake finder at that prefix through OpenBLAS_HOME. The existing library path
also covers OpenBLAS at runtime.

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. Full CUDA build validation remains pending.

Assisted-by: OpenAI Codex
Signed-off-by: cyy <[email protected]>
@cyyever
cyyever marked this pull request as ready for review October 31, 2026 00:41
@cyyever
cyyever merged commit eae31f6 into trim Oct 31, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant