How to install NVIDIA/Model-Optimizer. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.
NVIDIA/Model-Optimizer Installation Guide
How to install NVIDIA/Model-Optimizer. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for NVIDIA/Model-Optimizer. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i NVIDIA/Model-Optimizeror
Install via npx
npx @hexmos/ipm i NVIDIA/Model-OptimizerPrerequisites
Python
languageVersion: >=3.8
pip
package_managergit
toolManual Installation Methods
Manual installation instructions. How to install from GitHub source.
Install with pip (stable release)
pip install -U nvidia-modelopt[all]Install from source (editable mode)
git clone git@github.com:NVIDIA/Model-Optimizer.git
cd Model-Optimizer
pip install -e .[dev]Use NVIDIA Container Images
docker pull nvcr.io/nvidia/pytorch:<version>-py3
docker pull nvcr.io/nvidia/nemo:<version>
docker pull nvcr.io/nvidia/tensorrt-llm/release:<version>Post Installation Steps
- Review the license terms of any third-party open source software projects downloaded during installation.
