Repository navigation
Add triton-kernels support and improve triton install messaging - #3335
Merged
Merged
Conversation
Contributor
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
|
- Add triton-kernels uninstall/install to install_triton.sh and download_triton_wheel.sh - Add torch version check in install_triton.sh to skip reinstall when torch < 2.9.1 - Improve setup.py log messages for version check and AITER_USE_SYSTEM_TRITON cases - Document AITER_USE_SYSTEM_TRITON usage in README.md Co-Authored-By: Claude Opus 4 <[email protected]>
mengfei-jiang
force-pushed
the
install_triton_kernels
branch
from
May 25, 2026 14:48
8b558dd to
4d1c96b
Compare
valarLip
approved these changes
Jun 2, 2026
amirumoAMD
pushed a commit
that referenced
this pull request
Jun 2, 2026
- Add triton-kernels uninstall/install to install_triton.sh and download_triton_wheel.sh - Add torch version check in install_triton.sh to skip reinstall when torch < 2.9.1 - Improve setup.py log messages for version check and AITER_USE_SYSTEM_TRITON cases - Document AITER_USE_SYSTEM_TRITON usage in README.md Co-authored-by: Claude Opus 4 <[email protected]>
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.
Motivation
ATOM relies on triton-kernels for some of its operators, so the triton-kernels package must be installed alongside triton at a matching version to avoid compatibility issues
Torch version guard — Environments with torch < 2.9.1 (e.g. SGLang Downstream) are incompatible with the latest Triton upstream. The script now skips the reinstall and preserves the image-bundled Triton and triton-kernels in these cases.
Clearer messaging — Log messages now show the exact version being kept or replaced, with actionable guidance for each scenario.
Technical Details
Test Plan
Test Result
Submission Checklist