NVIDIA/Model-Optimizer
A unified library of SOTA model optimization techniques like quantization, distillation, pruning, neural architecture search, speculative decoding, etc. It compresses deep learning models for downstream deployment frameworks like TensorRT-LLM, TensorRT, vLLM, etc. to optimize inference speed.
Older snapshot: check the original source for current information.
From the publisher
README & documentation
Source previewRead the project’s overview, installation instructions and usage examples. The original README is the source of truth.
[](https://nvidia.github.io/Model-Optimizer) [](https://pypi.org/project/nvidia-modelopt/) [](./LICENSE) Documentation | Roadmap | Announcement Blogs 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. Previous News To install stable release packages for…
Read the full README ↗ · Preview checked 2026-11-07T05:38:28.585Z
Inside the original README — Document outline
- NVIDIA Model Optimizer
- Latest News
- Install
- Techniques
- Pre-Quantized Checkpoints
- Resources
- Model Support Matrix
- Deprecation Policy
- Citation
- Contributing
- AI Agents
- Claude Code
Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.
Links from the README
References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.
- ![Documentation
- ![license
- Documentation
- TensorRT-LLM
- BLOG: Scale Learning: Training NVFP4 Block Scales to Recover Accuracy
- End-to-end W4A4 NVFP4 + QAD tutorial for Qwen3.6-35B-A3B
- End-to-end Optimization tutorial for Nemotron-3-Nano-30B-A3B
- Puzzletron
- here
- Quantization (PTQ and QAT) guide
- BLOG: Top 5 AI Model Optimization Techniques for Faster, Smarter Inference
- BLOG: An Introduction to Speculative Decoding for Reducing Latency in AI Inference
Documentation belongs to its respective authors. Reported project/model license: Apache-2.0. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.
What this repository does
A unified library of SOTA model optimization techniques like quantization, distillation, pruning, neural architecture search, speculative decoding, etc. It compresses deep learning models for downstream deployment frameworks like TensorRT-LLM, TensorRT, vLLM, etc. to optimize inference speed.
Repository facts
- Owner
- NVIDIA
- Primary language
- Python
- Stars
- 4,891
- Forks
- 679
- Open issues + pull requests
- 417
- License
- Apache-2.0
- Archived
- No
- Default branch
- main
- Created
- 2024-04-23T19:00:54.000Z
- Last push
- 2026-09-24T11:44:59.000Z
Topics and intended use
No topics were included in the latest source metadata.
Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.
Evaluate before installing
Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.
Source and freshness
Source: GitHub. Metadata observed 2026-09-27T12:02:53.537Z. Daily imports are snapshots, not real-time monitoring.
Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.
Related repositories
EbookFoundation/free-programming-books
donnemartin/system-design-primer