pytorch - 💡(How to fix) Fix [Triton][Triton-Ext] Include TLX Triton Extension [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
pytorch/pytorch#178917Fetched 2026-04-08 01:57:03
View on GitHub
Comments
2
Participants
2
Timeline
43
Reactions
0
Author
Participants
Assignees
Timeline (top)
mentioned ×15subscribed ×15labeled ×7commented ×2
RAW_BUFFERClick to expand / collapse

New Feature for Release

We would like to include the Triton Extensions (https://github.com/triton-lang/triton-ext) into the Triton PyTorch release. This would mainly require building Triton with TRITON_EXT_ENABLED=1; and then including the triton-ext repo as it's own package. For the moment we are really only concern with including the TLX extensions https://github.com/triton-lang/triton-ext/tree/main/extensions/utlx so we do not need to include the entire triton-ext repo.

Point(s) of contact

crobeck, plotfi

Release Mode (pytorch/pytorch features only)

Out-of-tree

Out-Of-Tree Repo

https://github.com/triton-lang/triton-ext/

Description and value to the user

The main value add, specifically to Meta is to ship TLX as a fully out of tree extension to upstream Triton (https://github.com/triton-lang/triton-ext/tree/main/extensions/utlx)

Link to design doc, GitHub issues, past submissions, etc

No response

What feedback adopters have provided

No response

Plan for documentations / tutorials

Tutorial exists

Additional context for tutorials

No response

Marketing/Blog Coverage

Yes

Are you requesting other marketing assistance with this feature?

No response

Release Version

No response

OS / Platform / Compute Coverage

No response

Testing Support (CI, test cases, etc..)

No response

cc @seemethere @malfet @atalman @tinglvv @nWEIdia @bertmaher @int3 @davidberard98 @nmacchioni @embg @peterbell10 @aakhundov @jataylo @iupaikov-amd

extent analysis

TL;DR

To include the Triton Extensions in the Triton PyTorch release, build Triton with TRITON_EXT_ENABLED=1 and include the TLX extensions as a separate package.

Guidance

  • Identify the specific TLX extensions required from the triton-ext repository, focusing on utlx for the initial inclusion.
  • Build Triton with TRITON_EXT_ENABLED=1 to enable extension support.
  • Create a separate package for the TLX extensions to maintain them as an out-of-tree extension to upstream Triton.
  • Review the existing tutorial for the TLX extensions to ensure it covers the necessary documentation and usage guidelines.

Example

No specific code snippet is provided due to the lack of detailed technical implementation in the issue.

Notes

The solution assumes that the triton-ext repository and the utlx extensions within it are compatible with the current Triton PyTorch release. Additional testing and verification may be necessary to ensure seamless integration.

Recommendation

Apply workaround: Include the TLX extensions as a separate package and build Triton with extension support enabled, as this allows for the inclusion of the desired functionality without modifying the core Triton repository.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING