Metadata-Version: 2.4
Name: triton-utlx
Version: 3.8.0
Summary: uTLX: Triton Language Extensions distributed as a Plugin (Triton 3.8)
Home-page: https://github.com/triton-lang/triton-ext
License-Expression: MIT
License-File: LICENSE
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# 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** (the `create_utlx_*` binding).

## Compatibility

Self-contained plugin: `libutlx.so` depends only on `libtriton.so` (MLIR symbols resolve from
libtriton at load). It works with a **Triton 3.8 built from source with a static LLVM and
`TRITON_EXT_ENABLED=ON`** (the same model as the 3.7 build):

    git clone https://github.com/triton-lang/triton && cd triton && git checkout <3.8 commit>
    pip install -r python/requirements.txt
    TRITON_EXT_ENABLED=ON pip install -e . --no-build-isolation
    pip install triton-utlx
    export TRITON_PLUGIN_PATHS=$(python -c 'import utlx_plugin,os;print(os.path.join(os.path.dirname(utlx_plugin.__file__),"libutlx.so"))')

It does not work with a stock statically-linked PyPI triton (built without TRITON_EXT_ENABLED,
so it does not export the MLIR symbols the plugin resolves).

## License

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