Skip to content

AI-assisted: ci: allow legacy MLIR warnings in Triton CUDA CI - #44

Merged
cyyever merged 1 commit into
trimfrom
ci/ignore-triton-mlir-deprecated-warning
Nov 16, 2026
Merged

cyyever merged 1 commit into
trimfrom
ci/ignore-triton-mlir-deprecated-warning

Conversation

@cyyever

@cyyever cyyever commented Nov 16, 2026

Copy link
Copy Markdown
Collaborator

BC-breaking?

No. This changes only the CUDA CI compiler warning policy for Triton wheel compilation.

Summary (human written only)

在pytorch ci 忽略这个deprecated

Agent details (if applicable)

This PR was prepared with Codex. Gitea Trim CUDA CI failed while compiling Triton from source with -Werror: MLIR-generated build and create wrappers for legacy attribute-dictionary builders are marked deprecated. The change adds -Wno-error=deprecated-declarations only to Triton wheel compilation in .github/workflows/cuda-ci.yml. Other warning classes and the later PyTorch build retain their existing settings. Tests were not run; git diff --check passed.

Triton-generated MLIR operation wrappers call legacy aggregate builders that upstream MLIR marks deprecated. The CUDA source CI builds Triton with -Werror, so these wrappers fail the build. Apply a targeted warning exception only to Triton wheel compilation.

Test Plan

- Not run (workflow-only change); git diff --check passed.

Authored with Codex.
@cyyever
cyyever marked this pull request as ready for review November 16, 2026 08:23
@cyyever
cyyever merged commit b9a1f60 into trim Nov 16, 2026
60 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