StackMap
Subscribe
Explore / Model-Optimizer
NVIDIA

Model-Optimizer

NVIDIA's model-compression library: quantization (PTQ/QAT, FP8/NVFP4), pruning, distillation, NAS and speculative decoding over HF/PyTorch/ONNX, exported to TensorRT-LLM, vLLM and SGLang.

3,652 574 Python Apache-2.0updated today
View on GitHubDispute this mapping →
Curator's take

The default answer to 'make this checkpoint cheaper to serve' if you deploy on NVIDIA hardware — the FP8/NVFP4 recipes here are the ones TensorRT-LLM and vLLM actually consume, and QAT recovers accuracy that naive post-training quantization throws away. It is deliberately vendor-shaped: the interesting formats want Hopper or Blackwell, and it optimizes checkpoints rather than serving them, so you still need an engine underneath. Wrong tool for training from scratch, for CPU or Apple-silicon targets, or for anyone who just wants a GGUF.

Mapped by ShipWithAI editors · links verified
README.md

Banner image

NVIDIA Model Optimizer

Documentation version license

Documentation | Roadmap


NVIDIA Model Optimizer (referred to as Model Optimizer, or ModelOpt) is a library comprising state-of-the-art model optimization techniques including quantization, pruning, Neural Architecture Search (NAS), distillation, speculative decoding and sparsity to accelerate models.

[Input] Model Optimizer currently supports inputs of a Hugging Face, PyTorch or ONNX model.

[Optimize] Model Optimizer provides Python APIs for users to easily compose the above model optimization techniques and export an optimized quantized checkpoint. Model Optimizer is also integrated with NVIDIA Megatron-Bridge, Megatron-LM and Hugging Face Accelerate for training required inference optimization techniques.

[Export for deployment] Seamlessly integrated within the NVIDIA AI software ecosystem, the quantized checkpoint generated from Model Optimizer is ready for deployment in downstream inference frameworks like SGLang, TensorRT-LLM, TensorRT, or vLLM. The unified Hugging Face export API now supports both transformers and diffusers models.

Latest News

Continue your stack

What teams reach for next — and why each earns a place beside Model-Optimizer. Ranked by curator confidence.