Explore the research collection
9 entries · Follow this search
- Paper
SageAttention: Accurate 8-Bit Attention for Plug-and-play Inference Acceleration
PTQ attention: subtract the token-mean of K to smooth channel outliers so QK can be INT8, and keep PV in FP16 with an FP16 accumulator (INT8 PV is too noisy on some layers). Triton kernels on RTX4090/3090; peak ~341 TOPS at headdim 64/128 vs FlashAttention2 ~165. ~2.1× FA2 and ~2.7× xformers. Plug-and-play: Llama2-7B WikiText 5.824 vs FP 5.823, MMLU 0.46=FP; CogVideoX/Unidiffuser/UltraPixel/TIMM/Llava1.6 near-parity. ICLR 2025. Code https://github.com/thu-ml/SageAttention.
- Paper
Bi-Mamba: Towards Accurate 1-Bit State Space Models
Binarizes Mamba-2 in/out projections (~90%+ of params) with FBI-Linear (sign weights plus per-column α/β) and autoregressive distillation from LLaMA2-7B on Amber. Beats GPTQ-2/3bit and BiLLM post-training binarization on Mamba-2 780M/1.3B/2.7B zero-shot and Wiki2/PTB/C4 PPL; 2.7B avg 50.6 vs Mamba-2 FP 59.6, Wiki2 10.0 vs 9.1. Claims ~5× memory / ~3× throughput vs FP16 2.7B on M4 Pro. Accepted in TMLR 2025. Code https://github.com/Tangshengku/Bi-Mamba.
- Model
Phonon-2 (Fermion Research)
Fermion Research releases Phonon-2, an English open speech-recognition model in a 164 MB download that it calls the most accurate open ASR model under 900 MB. Across the Open ASR Leaderboard's seven English sets it averages 5.21% word error, and every open model that scores better is at least 5.8 times its size. The model is distilled from NVIDIA's Parakeet TDT 0.6B v3 (2,508 MB) with encoder weights quantized to five learned levels (about 2.1 bits, base-3 packing of five digits per byte), holding the teacher's accuracy on LibriSpeech, beating it on AMI meetings and VoxPopuli parliamentary speech from a 15x smaller download. Speed: about 20 seconds per hour of audio on an Apple M5 MacBook Air via MLX (174x realtime), 142.8x realtime on eight Linux x86-64 cores, and up to 3,614x realtime batched on an A100. Released under CC-BY-4.0 with Hugging Face weights, a pip package (fermion-research), Docker images, and the Detta dictation app for Mac.
- Code
NVIDIA Model Optimizer (ModelOpt)
NVIDIA's unified open-source library of state-of-the-art model optimization techniques — post-training quantization, quantization-aware training/distillation, pruning, distillation, neural architecture search, speculative decoding, and sparsity. Takes Hugging Face, PyTorch, or ONNX models and exports optimized quantized checkpoints ready for TensorRT-LLM, TensorRT, vLLM, or SGLang deployment.
- Model
Bonsai 27B: Full 27B-Class Reasoning in Binary and Ternary Transformer Weights — On Laptops and Phones
PrismML Bonsai 27B (announced 2026-07-14; alphaXiv whitepaper slug 2607.bonsai-27b) post-training-compresses Qwen3.6-27B into binary g128 and ternary g128 weights with group-wise FP16 scales, hybrid attention (~75% linear / 25% full), 262K context, optional 4-bit vision tower, and DSpark speculative decoding. Claimed ~3.9 GB (1-bit) / ~5.9 GB (ternary) vs ~54 GB FP16; ~11 tok/s on iPhone 17 Pro Max and tens of tok/s on Apple Silicon laptops; Apache-2.0 Hub packs (GGUF/MLX).
- Model
BTL-4
Bad Theory Labs BTL-4: 35B Qwen3.5 MoE (~2.1B active) finetuned from Ornith-1.0-35B on trajectories whose code actually ran and passed tests. Vendor: SWE-bench Verified 78.4%; BFCL v4 AST 73.5% (+4.3 over base, paired, 1240 cases); LiveCodeBench v6 66.1% (easy 99.1 / medium 86.7 / hard 60.5; 442 problems; 16K→32K output budget +5.2). Native 262K context. Compact is one 9.96 GB GGUF at 2.30 bpw for a 16 GB card; tweet claims KV ~20 KB/token so 262K still fits. Per-group clip search (12 s, no calib data) moved 2-bit behavioural retention 77.1%→95.8%; Compact reproduced 111/118 full-precision gate behaviours (94.1%). Stock llama.cpp/Ollama/LM Studio. Apache-2.0. Companion Macaw 2.7B is a separate Mac agent, not this row.
- Code
VBR: Variable Bit-Rate KV Cache for llama.cpp
spiritbuun llama.cpp fork (buun-llama-cpp) ships VBR as the default KV cache. Cache starts FP16 and degrades one (layer, side) tensor at a time down a price-ordered ladder (f16 → turbo8 → turbo4 → turbo3_tcq → turbo2_tcq → turbo1_tcq) using TurboQuant/TCQ codecs, following per-model KLD degrade tables. Default implicit VBR floors at turbo4; explicit -ct vbr opens the full ladder to t1. Budget is leftover VRAM after weights/compute; -c caps context so the budget is spent on quality instead of max length. CUDA-first with ROCm/HIP mirror. Related to TurboQuant (papers_local 606/640) but this is a dynamic controller, not a new codec paper.
- Model
Mach-1 Additive 35B
Syzygy product launch. Compresses Qwen 3.6 35B into ~1.7 bpw additive/trellis weights (~7 GB, up to 120 tok/s on consumer laptops). Vendor claim: 95% mean retention vs the BF16 teacher across 12 agentic and reasoning benches (vs Ternary Bonsai 93.6% and Gemma 4 Q2_K_XL 85.6% on the same set; some comparator rows are borrowed). Unlike BitNet, they claim under 15 GPU-hours of retraining and a path to 3T-scale compressed models. Browser demo plus Mach Studio desktop (Apple Silicon beta) and an agent harness. Weights on HF SyzygyResearch/Mach-1-Additive-35B (Apache-2.0).
- Code
turbovec
Rust index with Python bindings for TurboQuant (arXiv 2504.19874, ICLR 2026): data-oblivious 2/4-bit quantization and no separate train step. README: 10M float32 docs ~31 GB → ~4 GB. Hand-written SIMD (NEON SDOT/SMMLA, AVX-512 VNNI) beats FAISS IndexPQFastScan in measured configs (~3.4× at 4-bit). Incremental crash-safe sync, allowlist-filtered search, and LangChain/LlamaIndex/Haystack/Agno drop-ins. PyPI and crates.io.