Translating CUDA Tile Operations from Python to Rust Using Agentic AI
AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.
Why it matters
NVIDIA shipped an AI agent skill that converts GPU kernels from Python to Rust with verified correctness, letting developers port kernels today instead of hand-translating.
NVIDIA built a tool that automatically converts GPU programs written in Python into Rust, a stricter language that catches more errors before running. All 24 public operators in its TileGym library were converted this way, running at 99.5% of the original speed. An AI agent does the translation with automated checks at every step. Developers who write GPU code can use the free skill from the TileGym GitHub repository today.
NVIDIA released an agent skill in its TileGym repository that ports Python GPU kernels to Rust automatically, covering all 24 public operators at 99.5% of original performance on the DGX B200. Teams maintaining Python-based GPU libraries can now adopt Rust's safety guarantees without hand-rewriting, at no cost. The main limitation: Rust requires explicit type and shape declarations that Python specializes implicitly, so ports must spell out what Python leaves implicit.
NVIDIA's TileGym agent skill translates cuTile Python and Triton-TileIR kernels to cuTile Rust via a bounded multi-agent pipeline where each stage ends in a machine-checkable verdict, including Tile IR diffs against the reference before functional testing. All 24 public operators (about 40 kernels, including flash-attention decode, MLA and MoE) cleared a 0.95 geomean speedup threshold on DGX B200, averaging 0.995 parity. A C-ABI layer passes tensor descriptors without copying; some kernels still use unchecked APIs pending migration to the safe surface.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
cuTile Rust TileGym CUDA Tile IR DGX B200 Triton-TileIR Nemotron
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.
Intel One Mono: a monospaced font designed with low-vision developers
Developers with low vision or eye fatigue can read code more clearly, reducing errors and improving productivity.