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.

Read this as

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

NVIDIA CUDA Tile cuTile Mamba-2 Jane Street Tensor Cores

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading