Skip to main content

uTLX — Triton Language Extensions (Plugin), Triton 3.8 build

triton-utlx ships a Triton plugin (libutlx.so) plus the utlx Python DSL exposing the TLX dialect (async loads, warp-group MMA, shared/tensor-memory buffers, etc.), built from triton-lang/triton-ext (extensions/utlx) for Triton 3.8.

Install

The stock triton wheel that PyTorch depends on works; no Triton build of your own is needed. Plugin support is compiled into Triton releases from 3.7 onward.

pip install torch            # torch 2.14 pulls triton ~=3.8.0
pip install triton-utlx

Then import it like any other package, in any order:

import triton
import utlx_plugin as tlx

Compatibility

libutlx.so is self-contained: it depends only on libtriton.so, and MLIR symbols resolve from libtriton at load.

The 3.8.0 release and Triton main differ on the plugin ABI, so utlx_plugin._compat bridges them at import, feature-detected in both directions:

  • Plugin discovery. 3.8.0 loads the libraries named in TRITON_PLUGIN_PATHS while libtriton is imported; main registers them explicitly with extend_with. Because 3.8.0 needs the variable set before import triton, this wheel installs a utlx_plugin.pth that sets it at interpreter startup, so import order does not matter. Set UTLX_NO_AUTOREGISTER=1 to disable that and manage TRITON_PLUGIN_PATHS yourself.
  • Op and pass names. 3.8.0 binds plugin ops as utlx_<op> and passes as utlx_<pass>; main prefixes them create_ and add_.
  • Semantic helpers. uTLX calls TritonSemantic.dot_precheck and TritonSemantic._prepare_legacy_load, which exist only in Meta's TLX fork of Triton, and tl._unwrap_if_constexpr, which upstream keeps in triton.language.core.

Pair the plugin with the Triton release line it was built for. A 3.7.x triton-utlx against Triton 3.8 is an ABI mismatch; forcing it past Triton's version check corrupts the heap.

License

MIT. Copyright (c) 2026 Meta Platforms, Inc. and affiliates.

Metadata

Release files for triton-utlx 3.8.0.post2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for triton-utlx 3.8.0.post2
File Interpreter ABI Platform
triton_utlx-3.8.0.post2-py3-none-manylinux_2_34_x86_64.whl Python 3 none Linux glibc 2.34+ x86-64 Details

Release files / triton_utlx-3.8.0.post2-py3-none-manylinux_2_34_x86_64.whl

Download URL triton_utlx-3.8.0.post2-py3-none-manylinux_2_34_x86_64.whl
Size 1.6 MB
Tags Linux glibc 2.34+ x86-64 Python 3
SHA-256 checksum
How to use checksums
1a975e7d324c13c65d5a486c5e5a5537aea117771a8a97c8efc44f802640a431
BLAKE2b-256 checksum
How to use checksums
de6b3ffd324ef99fabf069e802982e121c2efb816f12a35092f4356eb5f0c006
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.14+meta
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page