Pinned Tweet
ICYMI, all of the sessions from #tvmcon are available for streaming! Catch up on the latest advances, case studies, and tutorials in #ML acceleration from the @ApacheTVM community. tvmcon.org/
Apache TVM retweeted
Rust 🦀 is trending for the agentic rebuilding of ML systems, but is a single language really the right answer We believe the future lies in a cross-language foundation instead: prototype agents in Python, use Rust for safety and efficiency, and seamlessly interoperate with C++.
Coding agents now write a growing share of ML compiler code. Which language should they write it in: Rust, Python, or C++?
Each language has different strengths, so why pick just one?
Meet TIRx Rust 🚀: a Rust-native, cross-language ML compiler foundation for agents, with:
🔗 Fine-grained access to shared IR objects: Rust natively uses objects from any language, no bindings.
🦀 Ergonomic Rust APIs: write passes natively in Rust, as easily as in C++ or Python.
🧩 Dynamic extension: add new objects and functions as standalone modules, with zero changes to the core.
How does it work under the hood? Full post 👇
blog link: tvm.apache.org/2026/11/16/ru…
Apache TVM retweeted
Coding agents now write a growing share of ML compiler code. Which language should they write it in: Rust, Python, or C++?
Each language has different strengths, so why pick just one?
Meet TIRx Rust 🚀: a Rust-native, cross-language ML compiler foundation for agents, with:
🔗 Fine-grained access to shared IR objects: Rust natively uses objects from any language, no bindings.
🦀 Ergonomic Rust APIs: write passes natively in Rust, as easily as in C++ or Python.
🧩 Dynamic extension: add new objects and functions as standalone modules, with zero changes to the core.
How does it work under the hood? Full post 👇
blog link: tvm.apache.org/2026/11/16/ru…
Apache TVM retweeted
In the age of agents, do we still need compilers at all, and if so, how do we design ML compilers for agents? Checkout take and effort on a ground up rebuild of a ML compiler foundation for the Agentic Era
After our kernel-agent experiments, we had to confront an uncomfortable question: Do we still need DSLs and ML compilers when agents can do it all?
In short: We're still here! 😎
If you're curious why, here's our take:
tvm.apache.org/2026/11/03/re…
We've also rebuilt TIRx from the ground up as a shared DSL and compiler foundation for agentic kernel development.
Apache TVM retweeted
After our kernel-agent experiments, we had to confront an uncomfortable question: Do we still need DSLs and ML compilers when agents can do it all?
In short: We're still here! 😎
If you're curious why, here's our take:
tvm.apache.org/2026/11/03/re…
We've also rebuilt TIRx from the ground up as a shared DSL and compiler foundation for agentic kernel development.
Apache TVM retweeted
KCoral scales up agentic benchmarking for kernel agents, check it out
Kernel agents can already beat hand-tuned kernels. Spinning up more agents is easy, but scaling GPU evaluation is still hard and expensive.
What happens when the agents scale faster than the GPUs?
Meet KCoral 🪸: a lightweight shared GPU benchmark environment for agentic kernel development.
🧑💻 Agents keep writing and revising code in their own workspace.
⚡ Evaluation is sent to KCoral, which schedules a shared GPU pool and returns correctness and timing.
🌐 Scale across multiple GPUs and nodes through a unified API endpoint.
🔒 Per-request isolation with only milliseconds of execution overhead.
By overlapping CPU compilation with GPU work across requests, KCoral further speeds up kernel evaluation. On a single NVIDIA B200, this translates to 2.58× the throughput of sequential local execution.
Apache TVM retweeted
Great collaboration, and excited to build KCoral together! 🚀 Robust and scalable evaluation is essential for building better kernel agents. Excited to bring what we’ve learned from building PTXBench into KCoral and push this space forward together.
Kernel agents can already beat hand-tuned kernels. Spinning up more agents is easy, but scaling GPU evaluation is still hard and expensive.
What happens when the agents scale faster than the GPUs?
Meet KCoral 🪸: a lightweight shared GPU benchmark environment for agentic kernel development.
🧑💻 Agents keep writing and revising code in their own workspace.
⚡ Evaluation is sent to KCoral, which schedules a shared GPU pool and returns correctness and timing.
🌐 Scale across multiple GPUs and nodes through a unified API endpoint.
🔒 Per-request isolation with only milliseconds of execution overhead.
By overlapping CPU compilation with GPU work across requests, KCoral further speeds up kernel evaluation. On a single NVIDIA B200, this translates to 2.58× the throughput of sequential local execution.
Apache TVM retweeted
We build KCoral 🪸 to make GPU access a service for kernel agents. As kernel generation and RL training scale, giving each agent a GPU wastes capacity; leaving agents to coordinate sharing adds work and risks unreliable benchmarks.
Agents submit work as needed, and KCoral handles scheduling and isolation—keeping GPUs productive and performance feedback reliable.
More in our blogpost 👇
Kernel agents can already beat hand-tuned kernels. Spinning up more agents is easy, but scaling GPU evaluation is still hard and expensive.
What happens when the agents scale faster than the GPUs?
Meet KCoral 🪸: a lightweight shared GPU benchmark environment for agentic kernel development.
🧑💻 Agents keep writing and revising code in their own workspace.
⚡ Evaluation is sent to KCoral, which schedules a shared GPU pool and returns correctness and timing.
🌐 Scale across multiple GPUs and nodes through a unified API endpoint.
🔒 Per-request isolation with only milliseconds of execution overhead.
By overlapping CPU compilation with GPU work across requests, KCoral further speeds up kernel evaluation. On a single NVIDIA B200, this translates to 2.58× the throughput of sequential local execution.
Apache TVM retweeted
Kernel agents can already beat hand-tuned kernels. Spinning up more agents is easy, but scaling GPU evaluation is still hard and expensive.
What happens when the agents scale faster than the GPUs?
Meet KCoral 🪸: a lightweight shared GPU benchmark environment for agentic kernel development.
🧑💻 Agents keep writing and revising code in their own workspace.
⚡ Evaluation is sent to KCoral, which schedules a shared GPU pool and returns correctness and timing.
🌐 Scale across multiple GPUs and nodes through a unified API endpoint.
🔒 Per-request isolation with only milliseconds of execution overhead.
By overlapping CPU compilation with GPU work across requests, KCoral further speeds up kernel evaluation. On a single NVIDIA B200, this translates to 2.58× the throughput of sequential local execution.
Apache TVM retweeted
Super excited to co-teach CMU’s ML Systems course with @tqchenml next spring! Looking forward to bringing agentic GPU programming into the classroom! 🚀
We will be teaching Agentic GPU Programming for MLSys as part of the CMU ML Systems course this upcoming spring at @SCSatCMU, touching on knowledge curation, compiler analysis, and feedback loops. We also curated an online book on the topic, check it out mlc.ai/agentic-gpu-programmi…
Apache TVM retweeted
We will be teaching Agentic GPU Programming for MLSys as part of the CMU ML Systems course this upcoming spring at @SCSatCMU, touching on knowledge curation, compiler analysis, and feedback loops. We also curated an online book on the topic, check it out mlc.ai/agentic-gpu-programmi…
Apache TVM retweeted
Excited to share what we’ve been building with TIRx Harness! ⚡
A lot of attention goes to how well agents write kernels. We’re exploring what helps them improve: compiler feedback, a rich kernel zoo, and reliable performance measurements. 🔍
AI agents are becoming GPU kernel engineers. We're rethinking the compiler stack around them.
Meet TIRx Harness: an open compiler harness that gives agents an environment to explore, debug, and optimize GPU kernels.
🧱 Minimal stable low-level compiler foundation for predictable GPU programming
🔍 Domain-specific compiler analysis to guide debugging and optimization
📚 Kernel zoo of 60+ kernels and hardware specs to reuse strategies and discover new ones
📊 Remote GPU evaluation for reliable benchmarks and profiling
Agent-built Kimi Delta Attention kernels achieved geometric-mean speedups of 2.94x over FlashKDA (forward) and 6.84x over FLA (backward).
Our bet: the next leap in agentic GPU programming will come from engineering the environment agents optimize in.
Check out our blog: blog.mlc.ai/2026/09/29/tirx-…
Apache TVM retweeted
2.94× KDA fwd, 6.84× KDA bwd, 2.59× MSA prefill, 3.99× MSA decode, 1.33× KDA decode, 1.71× MLA, 1.68× VSA — just by pressing Enter.
After years of working on ML compilers and designing many abstractions, the most useful compiler thing in TIRx I’ve ever built might just be a PTX tablegen.
AI agents are becoming GPU kernel engineers. We're rethinking the compiler stack around them.
Meet TIRx Harness: an open compiler harness that gives agents an environment to explore, debug, and optimize GPU kernels.
🧱 Minimal stable low-level compiler foundation for predictable GPU programming
🔍 Domain-specific compiler analysis to guide debugging and optimization
📚 Kernel zoo of 60+ kernels and hardware specs to reuse strategies and discover new ones
📊 Remote GPU evaluation for reliable benchmarks and profiling
Agent-built Kimi Delta Attention kernels achieved geometric-mean speedups of 2.94x over FlashKDA (forward) and 6.84x over FLA (backward).
Our bet: the next leap in agentic GPU programming will come from engineering the environment agents optimize in.
Check out our blog: blog.mlc.ai/2026/09/29/tirx-…
Apache TVM retweeted
In the age of agentic programming, the compiler's role will increasingly move from just supporting compilation to a flexible harness that agents interact with and rely upon. Compiler harness will be the new frontier in agentic GPU programming.
AI agents are becoming GPU kernel engineers. We're rethinking the compiler stack around them.
Meet TIRx Harness: an open compiler harness that gives agents an environment to explore, debug, and optimize GPU kernels.
🧱 Minimal stable low-level compiler foundation for predictable GPU programming
🔍 Domain-specific compiler analysis to guide debugging and optimization
📚 Kernel zoo of 60+ kernels and hardware specs to reuse strategies and discover new ones
📊 Remote GPU evaluation for reliable benchmarks and profiling
Agent-built Kimi Delta Attention kernels achieved geometric-mean speedups of 2.94x over FlashKDA (forward) and 6.84x over FLA (backward).
Our bet: the next leap in agentic GPU programming will come from engineering the environment agents optimize in.
Check out our blog: blog.mlc.ai/2026/09/29/tirx-…
Apache TVM retweeted
AI agents are becoming GPU kernel engineers. We're rethinking the compiler stack around them.
Meet TIRx Harness: an open compiler harness that gives agents an environment to explore, debug, and optimize GPU kernels.
🧱 Minimal stable low-level compiler foundation for predictable GPU programming
🔍 Domain-specific compiler analysis to guide debugging and optimization
📚 Kernel zoo of 60+ kernels and hardware specs to reuse strategies and discover new ones
📊 Remote GPU evaluation for reliable benchmarks and profiling
Agent-built Kimi Delta Attention kernels achieved geometric-mean speedups of 2.94x over FlashKDA (forward) and 6.84x over FLA (backward).
Our bet: the next leap in agentic GPU programming will come from engineering the environment agents optimize in.
Check out our blog: blog.mlc.ai/2026/09/29/tirx-…
Apache TVM retweeted
🚀 More reliable agents with DeepSeek V4.1!
XGrammar brings strict tool calling to SGLang & vLLM through Structural Tags, enforcing tool argument schemas in DeepSeek’s native format.
See how the Structural Tag works 👇
blog.mlc.ai/2026/05/04/xgram…
Check out XGrammar 👇
github.com/mlc-ai/xgrammar
Apache TVM retweeted
One thing that I am really excited about this TensorRT release is the first-class support for TVM-FFI, so we can bring custom DSL and agent generated kernels to TensorRT inference nvidia.github.io/TensorRT-Mo…
We just released TensorRT Model Connect in Public Preview.
You can take a supported @huggingface model to end-to-end TensorRT inference in just two commands. No intermediate ONNX export, and the resulting bundle can run through native C++ APIs.
We also built the entire project with @OpenAIDevs Codex agents, with humans directing and reviewing the work. That includes model implementations, performance tuning, tests, integrations, and docs.
It’s open source, so go try it out, dig into the implementations, or contribute support for a new model: github.com/NVIDIA/TensorRT-M…
Apache TVM retweeted
It's cool to learn how different warp/warpgroup roles overlap in the kernel, such as FA4.
tvm.apache.org/docs/tirx/nat…
Apache TVM retweeted
We taught a brand-new mini-series this year at @SCSatCMU on Modern GPU Programming for ML Systems, as part of the ML Systems course, touching on fun questions like what data layout swizzling is, how to use 3D TMA, and state-of-the-art Blackwell programming. We released a curated online book based on the materials: mlc.ai/modern-gpu-programmin… check it out
Apache TVM retweeted
We release TIRx today, a minimal compiler stack and hardware-native DSL for frontier ML kernels, built around storage-first tensor layouts and reusable tile primitives.
tvm.apache.org/2026/06/22/ti…
On NVIDIA B200, TIRx delivers up to ~1.08× over cuBLASLt on dense GEMM, outperforms DeepGEMM on all FP8 blockwise workloads with up to ~1.09× speedup, keeps FlashAttention-4 (FA4) typically within ~±2% of CuTeDSL, and remains competitive with cuBLASLt/FlashInfer on NVFP4 GEMM.
Through our past experiences building frontier ML kernels, megakernels, and agentic kernel systems, we kept seeing the same boundary problem: new operators and new hardware require new optimization strategies that often break old programming models or compiler passes.
TIRx builds on top of Apache TVM and moves toward a simple goal: let users and agents express the best-performing program, even for future hardware generations, while keeping the engineering effort for new kernels and new hardware as low as possible.
Apache TVM retweeted
What will the role of AI compilers be in the age of AI agents and frontier kernel programming? We believe agents should have access to a predictable DSL that offers maximum expressiveness, paired with a minimal compiler they can directly open up, build toolings, and improve for specialized optimizations. TIRx is our effort on this front. We've had a great experience using it in our latest mega-kernel compiler research and teaching Blackwell programming in our ML systems course at CMU. Check it out:
We release TIRx today, a minimal compiler stack and hardware-native DSL for frontier ML kernels, built around storage-first tensor layouts and reusable tile primitives.
tvm.apache.org/2026/06/22/ti…
On NVIDIA B200, TIRx delivers up to ~1.08× over cuBLASLt on dense GEMM, outperforms DeepGEMM on all FP8 blockwise workloads with up to ~1.09× speedup, keeps FlashAttention-4 (FA4) typically within ~±2% of CuTeDSL, and remains competitive with cuBLASLt/FlashInfer on NVFP4 GEMM.
Through our past experiences building frontier ML kernels, megakernels, and agentic kernel systems, we kept seeing the same boundary problem: new operators and new hardware require new optimization strategies that often break old programming models or compiler passes.
TIRx builds on top of Apache TVM and moves toward a simple goal: let users and agents express the best-performing program, even for future hardware generations, while keeping the engineering effort for new kernels and new hardware as low as possible.


























