Apache TVM (@ApacheTVM) header
Apache TVM (@ApacheTVM) profile picture

Open deep learning compiler stack for CPUs, GPUs and specialized accelerators. Join us for the TVM and Deep Learning Compilation Conference https://nitter.cf/t.co/i6MTbWYt87

Joined January 2018
Photo by Apache TVM (@ApacheTVM)Photo by Apache TVM (@ApacheTVM)Photo by Apache TVM (@ApacheTVM)Photo by Apache TVM (@ApacheTVM)Photo by Apache TVM (@ApacheTVM)Photo by Apache TVM (@ApacheTVM)Photo by Apache TVM (@ApacheTVM)Photo by Apache TVM (@ApacheTVM)Photo by Apache TVM (@ApacheTVM)Photo by Apache TVM (@ApacheTVM)
Apache TVM retweeted
This is big!
Formally verifying production Blackwell GPU kernels at the PTX level is insanely intricate. First, we still lack a precise model of Blackwell PTX in Lean. Second, for some of these kernels, even a perfect model would be inherently insufficient to prove safety, progress, termination, and the specified result. In the post, we explain why and show how TxVerify’s core/assumption split makes explicit what else we must trust to prove these kernels correct. blog.mlc.ai/2026/11/24/what-… We evaluated TxVerify on 13 Blackwell GPU kernels and proved all four properties for each. Production cases include FlashAttention-4, FlashMLA, TIRx FP16 GEMM, and both vLLM attention kernels for Inkling 2 Small. The proofs made 8 kernel-specific assumptions explicit for FlashAttention-4 and 11 for FlashMLA. They also led us to fix 3 synchronization bugs, 2 in Inkling 2 decode and 1 in the TIRx GEMM. It's now open source at github.com/mlc-ai/tx-verify. Feel free to try it, break it, or prove your own kernel with it :)
4
41
4,683
Apache TVM retweeted
An open-source framework for formally verifying production-grade low-level Blackwell kernels in Lean.
Formally verifying production Blackwell GPU kernels at the PTX level is insanely intricate. First, we still lack a precise model of Blackwell PTX in Lean. Second, for some of these kernels, even a perfect model would be inherently insufficient to prove safety, progress, termination, and the specified result. In the post, we explain why and show how TxVerify’s core/assumption split makes explicit what else we must trust to prove these kernels correct. blog.mlc.ai/2026/11/24/what-… We evaluated TxVerify on 13 Blackwell GPU kernels and proved all four properties for each. Production cases include FlashAttention-4, FlashMLA, TIRx FP16 GEMM, and both vLLM attention kernels for Inkling 2 Small. The proofs made 8 kernel-specific assumptions explicit for FlashAttention-4 and 11 for FlashMLA. They also led us to fix 3 synchronization bugs, 2 in Inkling 2 decode and 1 in the TIRx GEMM. It's now open source at github.com/mlc-ai/tx-verify. Feel free to try it, break it, or prove your own kernel with it :)
5
23
1,015
36,361
Lean for PTX-level verification 🚀
Formally verifying production Blackwell GPU kernels at the PTX level is insanely intricate. First, we still lack a precise model of Blackwell PTX in Lean. Second, for some of these kernels, even a perfect model would be inherently insufficient to prove safety, progress, termination, and the specified result. In the post, we explain why and show how TxVerify’s core/assumption split makes explicit what else we must trust to prove these kernels correct. blog.mlc.ai/2026/11/24/what-… We evaluated TxVerify on 13 Blackwell GPU kernels and proved all four properties for each. Production cases include FlashAttention-4, FlashMLA, TIRx FP16 GEMM, and both vLLM attention kernels for Inkling 2 Small. The proofs made 8 kernel-specific assumptions explicit for FlashAttention-4 and 11 for FlashMLA. They also led us to fix 3 synchronization bugs, 2 in Inkling 2 decode and 1 in the TIRx GEMM. It's now open source at github.com/mlc-ai/tx-verify. Feel free to try it, break it, or prove your own kernel with it :)
5
29
2,058
Apache TVM retweeted
Formally verifying production Blackwell GPU kernels at the PTX level is insanely intricate. First, we still lack a precise model of Blackwell PTX in Lean. Second, for some of these kernels, even a perfect model would be inherently insufficient to prove safety, progress, termination, and the specified result. In the post, we explain why and show how TxVerify’s core/assumption split makes explicit what else we must trust to prove these kernels correct. blog.mlc.ai/2026/11/24/what-… We evaluated TxVerify on 13 Blackwell GPU kernels and proved all four properties for each. Production cases include FlashAttention-4, FlashMLA, TIRx FP16 GEMM, and both vLLM attention kernels for Inkling 2 Small. The proofs made 8 kernel-specific assumptions explicit for FlashAttention-4 and 11 for FlashMLA. They also led us to fix 3 synchronization bugs, 2 in Inkling 2 decode and 1 in the TIRx GEMM. It's now open source at github.com/mlc-ai/tx-verify. Feel free to try it, break it, or prove your own kernel with it :)
7
49
13
201
56,837
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…
4
12
122
26,917
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…
4
20
2
49
31,155
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.
9
12
2
100
35,012
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.
5
31
3
133
46,563
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.
4
6
24
3,339
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.
4
8
796
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.
6
3
18
3,223
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.
10
32
10
114
16,164
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…
3
12
143
10,273
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…
24
164
8
1,067
82,173
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-…
3
14
1,468
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-…
8
19
7
241
385,716
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-…
10
26
1
201
37,749
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-…
9
58
10
357
75,626
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
4
21
7
91
25,813
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…
1
16
1
89
10,363