Meta TLX Brings Warp-Group GPU Control to Triton on Hopper, Blackwell, AMD

Meta has released TLX, a compiler extension for Triton that exposes warp groups, barriers, and TMA directly to Python kernels. The tool…

By Vane November 23, 2026 4 min read

Meta has released TLX, a compiler extension for Triton that exposes warp groups, barriers, and TMA directly to Python kernels. The tool targets NVIDIA Hopper and Blackwell GPUs alongside AMD MI300 and MI350 chips. Engineers gain CUDA-level control without switching languages.

TL;DR

  • TLX extends Triton rather than replacing it. A Blackwell GEMM operation requires roughly 200 lines of Python-level code.
  • Supported hardware includes NVIDIA H100, B200, GB200, and AMD MI300 and MI350 series. The software is MIT-licensed.
  • Performance on six H100 FP16 GEMM shapes sits between -0.9% and +3.7% of cuBLAS results.
  • Meta reports a 4x speedup on an H100 linear compression kernel used for ad inference.
  • Dense LLM-style attention forward passes reach about 87% of FlashAttention-4 performance on B200.
  • All benchmark figures are self-reported by Meta. Independent verification is currently unavailable.

What problem does TLX solve?

Triton programs GPUs at the block level while CUDA operates at the thread level. Modern architectures require something in between. Hopper introduced warp specialization and the Tensor Memory Accelerator. Blackwell added tensor memory, cluster execution, and paired-CTA execution.

Meta states that CUDA could express these features but demands large amounts of architecture-specific code. TLX fills this gap using 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 five 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 six FP16 shapes, TLX lands between -0.9% and +3.7% of cuBLAS. On 8192x8192x8192 it reaches 577.0 TFLOPS versus 582.3 for cuBLAS.
  • MI350 GEMM: TLX beats rocBLAS by 11.8% to 15.2% on square shapes ranging 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.
  • 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.

Where is TLX used in production at Meta?

Meta’s engineering post lists three case studies:

  • Generative Ads Model 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: 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 DiegoTriton projectNVIDIAtile-ai open source project
ApproachExtension on top of Triton; warp-group orchestration; layouts optionalLower-level Triton dialect; tensors carry explicit layoutsPython DSL isomorphic with CuTe C++Tile-level DSL with layout and pipeline control
HardwareHopper, Blackwell, AMD MI300 and MI350NVIDIA Hopper+ for warp specialization; AMD MI350/MI355NVIDIA Ampere, Hopper, BlackwellCUDA, ROCm, Metal, CPU, Ascend
LicenseMITMITNVIDIA EULA for CuTe DSL filesMIT
Headline published result-0.9% to +3.7% vs cuBLAS, H100 FP16 GEMMNot disclosedUsed for FlashAttention-4 kernels, ~10K lines per Meta’s estimateNot disclosed
Known production useMeta ads training, ads inference, LLM pretrainingNot disclosedFlashAttention-4DeepSeek TileKernels

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.

Read 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.

Scroll to Top