Mamba-3
Mamba-3 is a state space model redesigned around inference efficiency rather than training speed. It adds an exponential-trapezoidal discretization that yields a more expressive recurrence, complex-valued state transitions implemented via data-dependent RoPE, and a MIMO variant that adds FLOPs to otherwise memory-bound decode steps at almost no latency cost. Architecture changes include BCNorm (QKNorm), removal of the short causal convolution and interleaved MLPs. At 1.5B scale on an H100, Mamba-3 SISO posts the fastest prefill+decode latency against Mamba-2, Gated DeltaNet and vLLM-served Llama-3.2-1B, and MIMO adds over 1 point of downstream accuracy at the cost of longer training. The open-sourced kernels combine Triton, TileLang and CuTe DSL.
Related posts
- Bamba: Inference-Efficient Hybrid Mamba2 Model
Hugging Face hardMasterBamba-9B is a hybrid Mamba2 language model from IBM, Princeton, CMU and UIUC, trained on 2.2T tokens of fully open data. It interleaves full attention layers with Mamba2 layers to keep KV-cache growth small. In vLLM on an H100, it reaches about 2.5x the throughput and 2x lower latency of Llama 3.1 8B at larger batch sizes and sequence lengths. On benchmarks it trails SOTA transformers mainly on math and MMLU, which the team attributes to fewer training tokens and no benchmark-aligned annealing data, and it beats Olmo 7B trained on the same token budget. Checkpoints, training recipes, a stateful data loader and support in transformers, TRL, vLLM and llama.cpp are released.
- Welcome Falcon Mamba: The first strong attention-free 7B model
Hugging Face mediumAdeptFalcon Mamba 7B from TII is a pure Mamba state space language model with extra RMS normalization layers for stable training at scale. Trained on roughly 5,500 GT of mostly RefinedWeb data, it matches or beats similarly sized transformers and hybrid SSM models on Open LLM Leaderboard benchmarks, averaging 15.04 on v2 and 64.09 on v1. Because an SSM keeps only a recurrent state, decoding runs at constant throughput and memory regardless of context length. Parallel prefill still makes memory grow with prompt length, but sequential or chunked prefill lets the model handle arbitrarily long prompts on a single 24GB A10. The model loads through Hugging Face transformers (>4.45.0) and supports 4-bit bitsandbytes quantization, torch.compile and an instruction-tuned variant.
- Apriel-H1: The Surprising Key to Distilling Efficient Reasoning Models
Hugging Face hardMasterServiceNow converted its 15B Apriel reasoning model into a Mamba/attention hybrid via distillation, reaching 2.1x throughput with small benchmark shifts (MATH500 up, GPQA and AIME24 slightly down) using 76.8B tokens. The key finding is that distilling on the teacher's high-quality SFT reasoning traces works, while pretraining data or mixed data degrades reasoning. Reverse KL beat forward KL. A staged procedure does the conversion: leave-one-out layer importance for the first 25 layers, then a dynamic MIL-Mamba-Replacement loss heuristic to progressively reach 30–40 Mamba layers, with the 40-layer variant reaching 3.4x throughput. Training uses the open-source Fast-LLM framework, inference runs on Transformers and vLLM, and the authors warn that hybrid deployment tooling is still immature.
- Scaling LLM Inference: Innovations in Tensor Parallelism, Context Parallelism, and Expert Parallelism
Meta Engineering hardMasterMeta scales LLM inference with three parallelism techniques aimed at latency targets of under 350ms time-to-first-token and under 25ms per incremental token. For tensor parallelism, custom direct-data-access allreduce algorithms (flat and tree) cut communication latency, beating RCCL by 10-50% on decode and bringing AMD MI300X to parity with H100. Context parallelism via ring attention, in Pass-KV and Pass-Q variants, enables 1M-token prefill in under a minute on one H100 host and near-linear scaling for Llama 3 405B (128K tokens in 3.8s over 16 nodes). Expert parallelism for MoE models relies on all-to-all token exchange that costs 10-30% of latency, and Meta is moving toward N-D parallelism with disaggregated prefill and decode tiers on heterogeneous hardware.
- Hugging Face on AMD Instinct MI300 GPU
Hugging Face easyNoviceHugging Face's transformers and text-generation-inference (TGI) now run on AMD Instinct MI300X GPUs with no code changes, backed by a Kubernetes-scheduled CI pipeline that runs tens of thousands of unit tests on MI250 and MI300 hardware. TGI optimizations for MI300 include Flash Attention v2, Paged Attention, GPTQ/AWQ kernels, fused kernels, and PyTorch's ROCm TunableOp. TunableOp tunes GEMMs during server warmup and gives an 8-10% decode latency gain on small inputs. On Llama 3 70B, MI300X on Azure delivers 2-3x faster time to first token and 2x faster decoding than MI250, and roughly 2x faster LoRA fine-tuning. Its 192 GB HBM3 also fits the full ~140 GB fp16 model on a single GPU.