Answers from the documentation; checking which model is on duty
Hi - I answer from the OpenSmartRoute documentation: routing, the API, plans and quotas, self-hosting. Ask away, or open a support ticket if you need a person.
Grounded in the docs - follow a source before acting on it.
Meta TLX Extends Triton for Warp-Group GPU Control on Hopper, Blackwel - OpenSmartRoute
Meta TLX Extends Triton for Warp-Group GPU Control on Hopper, Blackwell, AMD
Meta has released TLX, an extension to Triton that adds low-level GPU control for NVIDIA Hopper, Blackwell, and AMD GPUs, enabling CUDA-like control in Python kernels.
Key points
TLX supports NVIDIA Hopper and Blackwell, AMD MI300 and MI350 GPUs.
Performance on H100 GEMM is within -0.9% to +3.7% of cuBLAS.
Meta reports up to 4x speedup on an H100 linear compression kernel.
TLX is MIT-licensed and available as a plugin for Triton.
Why it matters: Enables kernel engineers to write GPU control code with Triton, improving performance and productivity without leaving Python.
By OpenSmartRoute editorial · written through the router by llm-small
From MarkTechPost - “Meta TLX Brings Warp-Group GPU Control to Triton on Hopper, Blackwell, AMD”
Introduction - Meta releases TLX to extend Triton with low-level GPU control
Meta has introduced TLX, an extension to the Triton compiler. It adds low-level control over GPUs for machine learning kernels. This allows developers to write more efficient GPU code in Python. The goal is to match the control and performance of CUDA, but within Triton.
TLX is not a new language. It is a set of extensions that build on Triton. Meta uses it in their production systems. It supports recent GPU architectures from NVIDIA, AMD, and others. This move aims to improve performance and flexibility for machine learning workloads.
What TLX is and what problem it solves - bridging GPU programming levels
TLX is an extension to Triton, a GPU compiler that simplifies programming. Triton programs GPUs at the block level. CUDA, on the other hand, controls GPUs at the thread level. Modern GPUs need control at a level between these two.
New GPU features like warp specialization and tensor memory acceleration make programming more complex. Blackwell GPUs added tensor memory and cluster execution. Expressing these features in CUDA requires a lot of architecture-specific code. This makes GPU programming harder and less portable.
TLX solves this problem by providing a model called MIMW, or Multi-Instruction, Multi-Warp. It makes warp groups the basic unit of control. Developers can now orchestrate GPU tasks with more precision. They write Triton code as usual and add TLX calls where control is needed. This approach simplifies programming and improves performance.
Supported hardware and licensing - NVIDIA Hopper, Blackwell, AMD MI series, MIT license
TLX supports several recent GPU architectures. It works with NVIDIA Hopper (H100) and Blackwell (B200, GB200). It also supports AMD MI300 and MI350-series GPUs. These are some of the latest and most powerful GPUs for machine learning.
Meta has licensed TLX under the MIT license. This is an open license that allows free use and modification. Developers can access the code on Meta’s Triton fork, called facebookexperimental/triton. TLX is also available as a plugin called triton-utlx on PyPI, the Python package index. This makes it easy to integrate into existing Triton workflows.
SID AI released SID-2, a new agentic search model with swarm mode that outperforms previous models in retrieval quality.
Performance results - GEMM, attention kernels, and real-world use cases
Meta reports that TLX delivers performance close to cuBLAS, NVIDIA’s optimized library. On H100 GPUs, TLX’s GEMM (matrix multiplication) kernels are within -0.9% to +3.7% of cuBLAS on six FP16 shapes. For a large 8192x8192x8192 GEMM, TLX reaches 577.0 TFLOPS, compared to 582.3 TFLOPS for cuBLAS.
On AMD MI350 GPUs, TLX outperforms rocBLAS by about 12% to 15% on square matrix shapes. For attention kernels, Meta’s Jagged Flash Attention on Blackwell beats FlashAttention-4 by roughly 13% in the forward pass and is about 50% faster in backward. On dense language model shapes, the attention kernel reaches about 87% of FlashAttention-4’s speed.
Meta’s reports are based on self-measured figures. They compare code size, performance, and accuracy. The attention kernel they developed is around 3,200 lines of code, much shorter than FlashAttention-4’s estimated 10,000 lines.
Details of TLX features - warp orchestration, synchronization, memory control, cluster execution
TLX adds several key features to Triton. It enables warp-group orchestration, where warp groups can take roles like producer, consumer, or epilogue. This helps manage complex GPU tasks more efficiently.
It also provides synchronization tools. Warp groups can synchronize using hardware barriers, called mbarriers. Thread-level synchronization remains managed by the compiler. This allows precise control over GPU execution.
Memory control is another major feature. TLX allows direct access to tensor memory acceleration (TMA), asynchronous tensor-core operations, and shared tensor memory (TMEM). Developers can optimize memory usage for specific workloads.
TLX supports cluster execution. Multiple cooperative thread arrays (CTAs) can work together using distributed shared memory and cluster-wide barriers. This enables more scalable and efficient GPU computations.
Optional layouts give developers control over data organization. The compiler infers layouts automatically, but programmers can override them for better speed. Meta’s example code shows how to use TLX functions like local_alloc, alloc_barriers, async_task, async_dot, and barrier_wait.
Use in Meta's production - ads training, inference, LLM pretraining
Meta uses TLX in several production systems. One example is training their Generative Ads Model (GEM). TLX helps improve the speed of training by up to 25% on thousands of GPUs. It also doubles the speed of certain attention operations used in ads.
Another use case is in-kernel broadcast optimization (IKBO). TLX enables a warp-specialized linear compression kernel that achieves four times the speed of previous methods on H100 GPUs. This reduces compute latency significantly.
Meta also applies TLX in large language model (LLM) pretraining. They fuse matrix multiplication with communication tasks to improve efficiency. Although no specific speedup figures are shared, these improvements help train models faster and more cost-effectively.
Meta compares TLX with other libraries like CUTLASS and CuTe DSL. They find that TLX offers a good balance of productivity and performance for most kernels. The code for these kernels is generally shorter and easier to maintain.
Background on Triton and GPU programming levels - from CUDA to Triton
Triton is a compiler designed to make GPU programming easier. It allows writing kernels in Python, which are then compiled to run efficiently on GPUs. Triton simplifies the process of creating high-performance kernels for machine learning.
CUDA is a lower-level programming interface for GPUs. It requires programmers to write code at the thread level, controlling thousands of threads directly. This gives fine control but is complex and architecture-specific.
Modern GPUs have features that go beyond what CUDA easily exposes. Warp specialization, tensor memory, and cluster execution are examples. Expressing these features in CUDA requires a lot of custom code. This makes it hard to write portable and maintainable kernels.
TLX bridges this gap. It provides low-level control within Triton, allowing developers to write high-performance kernels without switching to CUDA. This makes GPU programming more accessible and flexible for machine learning workloads.
How OpenSmartRoute helps - routing requests for model deployment and optimization
OpenSmartRoute is an open-source router designed for AI requests. It directs each request to the best-fit model, agent, or tool from a predefined catalog. It scores candidates based on quality, cost, speed, and safety.
Using OpenSmartRoute helps teams optimize AI deployment. It ensures requests are routed to models that meet their needs and constraints. The team can set rules to keep personal data on secure models or stay within cost limits.
OpenSmartRoute learns from outcomes. Models that answer well get more traffic, while less accurate ones get less. It can also compare new models against existing ones and adjust traffic accordingly. This helps improve overall AI performance and cost-efficiency.
The platform provides detailed cost tracking. It shows how much each routed request costs compared to the most expensive option. It also includes tools to detect prompt injection and personal data leaks. This makes managing AI requests safer and more efficient.
How it compares - what existed before, what this changes and what stays the same
Before TLX, GPU kernel programming relied mainly on CUDA. CUDA offers detailed control at the thread level. Programmers could write highly optimized kernels, but it required architecture-specific code. This made kernel development complex and less portable.
Triton provided a higher-level language for writing GPU kernels. It simplified programming by using Python syntax. However, Triton still lacked low-level control over GPU features like warp groups, barriers, and clusters. Developers had to drop down to CUDA for those features.
TLX extends Triton by exposing low-level GPU controls. It adds warp-group orchestration, synchronization, memory management, and cluster execution. These features were only available with large amounts of architecture-specific code before. TLX makes them accessible within Triton kernels.
What stays the same is Triton’s core design. It remains a Python-based DSL that compiles to GPU code. Developers still write kernels in Triton syntax. TLX adds new APIs for controlling how kernels run on the hardware.
This change means kernel engineers can now write more complex, architecture-aware kernels without switching languages. They can optimize for features like TMA, TMEM, and cluster execution directly from Triton. This reduces development complexity and improves portability.
Questions this leaves open - what the source does not say and how a reader can check it
The source does not specify how TLX performs on different hardware beyond the reported self-benchmarks. It mentions results on specific GPU shapes and models. But it does not provide independent benchmarks or comparisons with other low-level GPU programming tools.
Readers interested in performance should test TLX on their workloads and hardware. They can compare it with CUDA, cuBLAS, or other GPU programming frameworks. Running benchmarks on their target shapes will give a clearer picture of benefits and trade-offs.
The report does not detail the limitations of TLX. It mentions that TLX trails state-of-the-art attention on small causal-forward cases. But it does not specify the exact causes or how significant this gap is in practice. Developers should evaluate whether TLX’s control features justify their complexity for their specific workloads.
The licensing and deployment options are briefly mentioned. TLX is MIT-licensed and available as a plugin for upstream Triton. But the source does not clarify how easy it is to integrate into different environments or whether there are restrictions. Users should review the GitHub repo and documentation for compatibility and licensing details.
The source also does not specify how TLX compares in ease of use. It provides APIs similar to Triton, but it does not discuss learning curve or debugging support. Developers should experiment with sample kernels and review community feedback to assess usability.
Finally, the long-term support and development plans for TLX are not detailed. It is part of Meta’s fork and available on PyPI. But the source does not mention how actively it will be maintained or whether community contributions are encouraged. Interested users should follow the GitHub repo for updates and issues.
To verify performance claims, users can run their own benchmarks. They can compare TLX kernels with CUDA or other frameworks on their hardware. This will help determine if TLX’s low-level control translates into real-world gains.
In summary, while TLX offers promising low-level GPU control within Triton, users should conduct their own testing. They should evaluate compatibility, ease of use, and performance in their specific workloads before adopting it widely.
What to do - explore TLX, check the GitHub repo, and consider integrating it
Developers interested in TLX should start by exploring Meta’s GitHub repository. The code is available as part of Meta’s Triton fork and as a plugin for upstream Triton. Reviewing the example code and documentation can help understand how to use TLX features.
Trying out TLX involves integrating it into existing Triton kernels. Developers can experiment with warp orchestration, memory control, and cluster execution. Benchmarking these features on their hardware will show the benefits.
Teams can also monitor performance improvements in their workloads. Using TLX may reduce kernel code size and improve efficiency. It is suitable for workloads that require fine control over GPU features, like large language models or attention kernels.
Finally, staying updated with Meta’s releases and community contributions can help maximize the benefits of TLX. As more users adopt it, new features and best practices will emerge. Checking the GitHub repo regularly ensures access to the latest developments.
Google introduced Gemini 4 Hydrogen, a faster model for robotics that combines strong spatial reasoning with efficiency. It supports real-world robot control and simulation.