NVIDIA

    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.

    llm
    Python
    Apache-2.0
    5.5K stars
    800 forks
    33 GitHub watchers
    Updated Nov 6, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    5 releases in the last 90 days, the latest today, with 124 contributors on GitHub.

    Peaked at #3 in the weekly ranking the week of Sep 20, its best in the past year.

    Use Cases & Benefits

    • Provides a unified library of state-of-the-art model optimization techniques to compress and accelerate deep learning models for inference.
    • Enables seamless integration with NVIDIA AI ecosystem and downstream deployment frameworks for optimized inference speed and reduced model size.
    • Use for compressing large language models with quantization and pruning to speed up inference on NVIDIA GPUs.
    • Use for optimizing diffusion and vision-language models to reduce latency and deployment costs in generative AI applications.
    • Use for applying speculative decoding and distillation to improve inference throughput and maintain accuracy in transformer-based models.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    The NVIDIA TensorRT Model Optimizer (referred to as Model Optimizer, or ModelOpt) is a library comprising state-of-the-art model optimization techniques including quantization, distillation, pruning, 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 NeMo, 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.

    Excerpt from the NVIDIA/Model-Optimizer README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Sep 25: +384Sep 26: +306Sep 27: +248Sep 28: +47Oct 2: +28Oct 3: +23Oct 4: +14Oct 5: +14Oct 6: +12Oct 7: +8Oct 8: +7Oct 9: +10Oct 10: +8Oct 11: +10Oct 12: +4Oct 13: +11Oct 14: +14Oct 15: +13Oct 16: +18Oct 17: +11Oct 18: +8Oct 19: +8Oct 20: +16Oct 21: +12Oct 22: +12Oct 23: +15

    +2,096 stars over 82 days across 33 snapshot days; best day +384 on Sep 25.

    Forks

    800+254

    Open issues

    463+120

    Compared with peers in LLM

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    NVIDIA/Model-Optimizer compared with LLM repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    thedotmack/claude-mem113.6K+8.8K35today
    NVIDIA/auto-ontology7.5K+5.6K37—
    HKUDS/DeepTutor55.5K+5.5K655 days ago
    affaan-m/ECC297.9K+5.2K6335 days ago
    DietrichGebert/ponytail185.3K+5.1K607 days ago
    NVIDIA/Model-Optimizer5.5K—45today
    Category median113.6K+5.5K60—

    Also by NVIDIA

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description