Explore the research collection
3 entries · Follow this search
- 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.
- 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.
- 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.