Back to AI News
MarkTechPost

Meta Releases TLX, a Triton Extension for Low-Level GPU Control on Hopper, Blackwell and AMD

Meta has published a technical report and MIT-licensed Triton fork extension called TLX that exposes warp groups, hardware mbarriers, TMA, tensor memory and cluster execution to Python-level Triton kernels. It targets NVIDIA Hopper and Blackwell plus AMD MI300 and MI350-series GPUs, and also ships as a triton-utlx PyPI plugin for upstream Triton. Meta reports H100 FP16 GEMM performance within -0.9% to +3.7% of cuBLAS, a 4x speedup on an H100 ads-inference compression kernel, and 20% to 25% end-to-end MFU gains in ads-model training, though all figures are self-reported. Dense LLM-style attention forward reaches about 87% of FlashAttention-4 on B200, while Meta's jagged attention variant beats FA4 on production shapes.

AI Brief

It gives kernel engineers a concrete, MIT-licensed way to access CUDA-level GPU features from Triton, backed by production case studies and benchmark claims.

Meta has published a detailed report on TLX (Triton Low-Level Extensions). It is the GPU compiler extension behind Meta’s production ML kernels. Meta TLX is a Triton extension that exposes warp groups, barriers, TMA and clusters to Python kernels. It targets NVIDIA Hopper and Blackwell plus AMD MI300 and MI350-series GPUs. For kernel engineers, the message is CUDA-level control without leaving Triton.

TL;DR

  • What it is: an extension to Triton, not a new language. A Blackwell GEMM takes roughly 200 lines of Python-level Triton.
  • Runs on: NVIDIA Hopper (H100) and Blackwell (B200, GB200), AMD MI300 and MI350-series. MIT-licensed.
  • Performance: within -0.9% to +3.7% of cuBLAS on 6 H100 FP16 GEMM shapes (PyTorch).
  • Best: a 4x speedup on an H100 linear compression kernel for ads inference (Meta).
  • Worst: dense LLM-style attention forward reaches about 87% of FlashAttention-4 on B200 (PyTorch).
  • Bottom line: Best: hand-tuned performance from short Triton code. Worst: all numbers are self-reported, with no independent benchmarks yet.

What is TLX and what problem does it solve?

Triton programs GPUs at the block level. CUDA programs them at the thread level. Modern GPUs need something in between.

Hopper introduced warp specialization and the Tensor Memory Accelerator (TMA). Blackwell added tensor memory (TMEM), cluster execution and paired-CTA execution. Meta says CUDA could express these patterns, but only with large amounts of architecture-specific code.

TLX fills that gap with a model the research team calls MIMW (Multi-Instruction, Multi-Warp). The warp group becomes the basic unit of orchestration. Triton still defines what runs. TLX defines how it is orchestrated. Engineers write ordinary Triton and add TLX calls only where control matters.

How does TLX work?

TLX adds 5 extension areas on top of Triton:

  • Warp-group orchestration: warp groups get roles such as producer, consumer and epilogue.
  • Synchronization: warp groups sync through hardware mbarriers. Thread-level sync stays with the compiler.
  • Memory orchestration: direct access to TMA, asynchronous tensor-core ops and TMEM.
  • Cluster execution: multiple CTAs cooperate through distributed shared memory and cluster-wide barriers.
  • Optional layouts: the compiler infers layouts. Programmers override them only for speed.

The API reads like Triton. Meta’s Blackwell matmul example uses tlx.local_alloc, tlx.alloc_barriers, tlx.async_task, tlx.async_dot and tlx.barrier_wait.

How fast is TLX? Benchmarks

All figures below are self-reported by Meta:

  • H100 GEMM: across 6 FP16 shapes, TLX lands between -0.9% and +3.7% of cuBLAS. On 8192x8192x8192 it reaches 577.0 TFLOPS versus 582.3 for cuBLAS (PyTorch).
  • MI350 GEMM: TLX beats rocBLAS by 11.8% to 15.2% on square shapes from 256 to 2048.
  • B200 attention: On production jagged shapes, Meta’s Jagged Flash Attention beats FlashAttention-4 by about 13% forward. Backward runs about 50% faster. On dense LLM-style shapes, forward reaches about 87% of FA4 (PyTorch).
  • Code size: that attention kernel is about 3.2K lines. Meta estimates FA4 at 10K lines of CuTe DSL.

The research team adds that TLX trails state-of-the-art attention most on the smallest causal-forward cases. The gap narrows as sequence length grows.

Meta · Triton Low-Level Extensions

How TLX works, in 5 views

Warp-group control inside ordinary Triton kernels. Numbers are self-reported.

Hopper · Blackwell · AMD MI300/MI350
CUDA · SIMTthread-level control
TLX · MIMWwarp-group control
Triton · SIMBblock-level productivity
TLX adds MIMW (Multi-Instruction, Multi-Warp). The warp group is the unit of orchestration: roles, barriers, TMA, TMEM and clusters, written in Python.
Producer
Consumer
Epilogue
mbarrier
Step 0 of 6: press Step to run a pipelined Blackwell matmul.
1
Warp-group roles
2
Sync
3
Memory
4
Clusters
5
Optional layout

  
GEM ads training
20-25%
end-to-end MFU, click for more
Thousands of GPUs. Up to 2x forward speedup for Generalized Dot Product Attention. TLX beat CUTLASS and CuTe DSL on productivity-performance balance for most kernels (qualitative).
IKBO ads inference
4x
H100 kernel speedup, click for more
Warp-specialized linear compression kernel on H100. FlashAttention under IKBO cut compute-intensive net latency by up to two-thirds. Built in weeks instead of months.
LLM pretraining
MoE
distributed grouped GEMM, click for more
Fuses mixture-of-experts grouped matmuls with communication on Blackwell. Running continuously on a large fleet. No speedup figure disclosed.
Sources: Meta, arXiv, PyTorch © Marktechpost

Where is TLX used in production at Meta?

Meta’s engineering post lists 3 case studies:

  • Generative Ads Model (GEM) training: 20% to 25% end-to-end MFU on thousands of GPUs. TLX delivered up to 2x forward speedup for Generalized Dot Product Attention.
  • In-Kernel Broadcast Optimization (IKBO): a warp-specialized linear compression kernel hit 4x speedup on H100. FlashAttention under IKBO cut compute-intensive net latency by up to two-thirds.
  • Distributed grouped GEMM: fuses mixture-of-experts matmuls with communication for LLM pretraining on Blackwell. Meta gives no speedup figure.

Meta also compared CUTLASS, CuTe DSL and TLX on Blackwell for GEM. It says TLX gave the best productivity-performance balance for most kernels, but shares no numbers.

How do developers install and use TLX?

TLX lives in Meta’s MIT-licensed Triton fork, facebookexperimental/triton, under third_party/tlx/. It also ships as triton-utlx on PyPI, a plugin for upstream Triton. The PyTorch-Triton 3.7 plugin system loads TLX without forking Triton. AMD has also published a GEMM plus activation guide for CDNA4 with TLX.

TLX vs Gluon vs CuTe DSL vs TileLang

FeatureMeta TLXGluonCuTe DSLTileLang
MaintainerMeta with UC San Diego (paper)Triton projectNVIDIAtile-ai open source project
ApproachExtension on top of Triton; warp-group orchestration; layouts optionalLower-level Triton dialect; tensors carry explicit layouts (AMD)Python DSL isomorphic with CuTe C++ (FAQ)Tile-level DSL with layout and pipeline control
HardwareHopper, Blackwell, AMD MI300 and MI350 (Meta)NVIDIA Hopper+ for warp specialization (docs); AMD MI350/MI355 (AMD)NVIDIA Ampere, Hopper, BlackwellCUDA, ROCm, Metal, CPU, Ascend (SourceForge mirror)
LicenseMIT (repo)MIT (part of Triton)NVIDIA EULA for CuTe DSL files (license)MIT (mirror)
Headline published result-0.9% to +3.7% vs cuBLAS, H100 FP16 GEMMNot disclosedUsed for FlashAttention-4 kernels, ~10K lines per Meta’s estimate (PyTorch)Not disclosed
Known production useMeta ads training, ads inference, LLM pretrainingNot disclosedFlashAttention-4DeepSeek TileKernels (repo)

Key Takeaways

  • TLX adds warp-group, barrier, TMA and cluster control to ordinary Triton code.
  • It lands within -0.9% to +3.7% of cuBLAS on H100 FP16 GEMM.
  • Production wins include 4x on an H100 ads kernel and 20% to 25% MFU on GEM.
  • Dense attention forward still trails FA4 at about 87% on B200.
  • It is MIT-licensed and loads into upstream Triton as a plugin.


Check out the paper on arXiv, the Meta engineering post and the GitHub repo. You can check the deployment options and specs here through our GPULeaderboard.com chrome extension.

Also, feel free to follow us on Twitter and don’t forget to join our 150k+ML SubReddit and Subscribe to our Newsletter. Wait! are you on telegram? now you can join us on telegram as well.

Need to partner with us for promoting your GitHub Repo OR Hugging Face Page OR Product Release OR Webinar etc.? Connect with us

The post Meta TLX Brings Warp-Group GPU Control to Triton on Hopper, Blackwell, AMD appeared first on MarkTechPost.

Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!