Accelerating Mamba-2 with High-Performance Forward Pass Kernels in NVIDIA CUDA Tile
AI-generated summary of reporting by NVIDIA Developer Blog. Read the original for the full story.
Why it matters
Jane Street's optimized Mamba-2 kernels show cuTile is mature enough for production GPU work, giving engineers a Python-native alternative to CUDA C++ or Triton for Tensor Core kernels.
NVIDIA has a new tool called CUDA Tile (cuTile) that lets people write fast GPU programs in Python instead of low-level code. Engineers at the trading firm Jane Street used it to build Mamba-2, an AI model that processes long sequences efficiently, and worked with NVIDIA to speed up three of its core operations. Anyone building AI systems that handle long documents or streams can now copy these recipes.
Jane Street, a quant trading firm, built a production Mamba-2 implementation in NVIDIA's cuTile, an early sign the Python DSL is ready beyond NVIDIA's own demos. Companies training sequence models on NVIDIA GPUs gain a higher-productivity kernel path that still hits Tensor Cores, though results depend on the autotuner. No benchmark timings or availability dates are given, and the kernels come from Jane Street's internal work rather than a shipped NVIDIA product.
cuTile is a Python DSL where tiles replace thread/warp scheduling and ct.mma targets Tensor Cores. Jane Street's Mamba-2 forward pass uses three kernels: chunk_cumsum (log-space cumulative decay via ct.cumsum, scaled by log2(e) to use exp2), fwd_pass_state (chunkwise hidden-state jump formula via ct.mma with sequential dependence inside one grid point), and compute_out, which fuses the carried state, causally masked CB^T term and skip connection into one kernel using TF32 and TMA-friendly transposed layouts. Optimizations include latency hints and an autotuner over block size and occupancy; no benchmark numbers are reported.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Samsung is testing a feature that changes the angle of photos you’ve already taken
Samsung’s new Recompose lets users change photo angles after shooting, potentially reducing the need for multiple shots and improving post-capture editing workflows for photographers and casual users alike.
Frame generation on NVIDIA cards: DLSS on RTX 40/50, FSR 3 elsewhere
Enabling frame generation on non-RTX 40/50 GPUs lets gamers run console-build games at higher frame rates without buying new hardware.
Taking Trainium3 to the Track: Generating Videos with LTX-2.5
Video generation on AWS Trainium3 can now rival Lightricks' paid API in speed, giving teams a non-CUDA inference option, though only after heavy custom patching.
The Download: Better bionic hands and AI’s natural-gas boom
This newsletter roundup mostly relays other outlets' reporting; its two own stories flag sensory-linked prosthetics reaching home use and AI data centers locking the US grid into natural gas.
Introducing the llama.cpp benchmark dashboard for AMD Ryzen and Radeon
AMD developers running llama.cpp locally on Ryzen/Radeon GPUs can now compare prompt-processing and token-generation speeds across builds, models and quantizations on a public dashboard.