Skip to content

support compatibility with the Triton-Distributed 3.4 version#2

Merged
hufarmer merged 1 commit into
3.6from
3.6_dist
May 21, 2026
Merged

support compatibility with the Triton-Distributed 3.4 version#2
hufarmer merged 1 commit into
3.6from
3.6_dist

Conversation

@ArinaJJH
Copy link
Copy Markdown
Collaborator

No description provided.

@ArinaJJH ArinaJJH requested a review from hufarmer May 21, 2026 07:12
@ArinaJJH ArinaJJH self-assigned this May 21, 2026
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the NVIDIA toolchain configuration by adding an nvlink entry, modifies the TritonIR build dependencies, and introduces a compatibility header for AMD. Feedback indicates that adding TritonGPUOpInterfacesIncGen to TritonIR creates a layering violation between the core dialect and GPU-specific interfaces. Additionally, the empty version string for nvlink should be replaced with a valid version to avoid potential build script failures.

Comment thread lib/Dialect/Triton/IR/CMakeLists.txt Outdated
DEPENDS
TritonTableGen
TritonCanonicalizeIncGen
TritonGPUOpInterfacesIncGen
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

Adding TritonGPUOpInterfacesIncGen as a dependency to TritonIR introduces a layering violation. The core Triton dialect should remain independent of GPU-specific interfaces. If this dependency is not strictly required for the compilation of TritonIR, it should be removed to maintain proper architectural separation.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

已删除

Comment thread cmake/nvidia-toolchain-version.json
@hufarmer hufarmer merged commit eb5e9b9 into 3.6 May 21, 2026
1 of 8 checks passed
@ArinaJJH ArinaJJH deleted the 3.6_dist branch May 22, 2026 08:10
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.

2 participants