ForkBasetenBasetenpublished Dec 15, 2025seen 5d

basetenlabs/Model-Optimizer

forked from NVIDIA/Model-Optimizer

Open original ↗

Captured source

source ↗
published Dec 15, 2025seen 5dcaptured 16hhttp 200method plain

basetenlabs/Model-Optimizer

Description: A unified library of SOTA model optimization techniques like quantization, pruning, distillation, speculative decoding, etc. It compresses deep learning models for downstream deployment frameworks like TensorRT-LLM, TensorRT, vLLM, etc. to optimize inference speed.

Language: Python

License: Apache-2.0

Stars: 1

Forks: 0

Open issues: 13

Created: 2025-12-15T22:08:33Z

Pushed: 2026-06-08T10:41:54Z

Default branch: main

Fork: yes

Parent repository: NVIDIA/Model-Optimizer

Archived: no

README:

______________________________________________________________________

NVIDIA Model Optimizer (referred to as Model Optimizer, or ModelOpt) is a library comprising state-of-the-art model optimization [techniques](#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 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

Previous News

  • [2024/10/23] Model Optimizer quantized FP8 Llama-3.1 Instruct models available on Hugging Face for download: 8B, 70B, 405B.
  • [2024/09/10]…

Excerpt shown — open the source for the full document.

Notability

notability 1.0/10

Fork with minimal traction.