You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 764be79
Browse filesBrowse the repository at this point in the historyBrowse files
Signed-off-by: Onur Yilmaz <oyilmaz@nvidia.com>
Signed-off-by: oliver könig <okoenig@nvidia.com>
Signed-off-by: Charlie Truong <chtruong@nvidia.com>
Co-authored-by: oliver könig <okoenig@nvidia.com>
Co-authored-by: Charlie Truong <chtruong@nvidia.com>
Copy file name to clipboardExpand all lines: README.md
+13-29Lines changed: 13 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@
21
21
22
22
</div>
23
23
24
-
The **Export-Deploy library ("NeMo Export-Deploy")** provides tools and APIs for exporting and deploying NeMo and 🤗Hugging Face models to production environments. It supports various deployment paths including TensorRT, TensorRT-LLM, and vLLM deployment through NVIDIA Triton Inference Server and Ray Serve.
24
+
The **Export-Deploy library ("NeMo Export-Deploy")** provides tools and APIs for exporting and deploying NeMo and 🤗Hugging Face models to production environments. It supports various deployment paths including TensorRT and vLLM deployment through NVIDIA Triton Inference Server and Ray Serve.
The support matrix above outlines the export capabilities for each model or checkpoint, including the supported precision options across various inference-optimized libraries. The export module enables exporting models that have been quantized using post-training quantization (PTQ) with the [TensorRT Model Optimizer](https://github.com/NVIDIA/TensorRT-Model-Optimizer) library, as shown above. Models trained with low precision or quantization-aware training are also supported, as indicated in the table.
51
51
@@ -59,16 +59,15 @@ Please note that not all large language models (LLMs) and multimodal models (MMs
The support matrix above outlines the available deployment options for each model or checkpoint, highlighting multi-node and multi-GPU support where applicable. For comprehensive details, please refer to the [documentation](https://docs.nvidia.com/nemo/export-deploy/latest/index.html).
66
65
67
66
Refer to the table below for an overview of optimized inference and deployment support for NeMo Framework and Hugging Face models with Triton Inference Server.
68
67
69
-
| Model / Checkpoint |TensorRT-LLM + Triton Inference Server |vLLM + Triton Inference Server | Direct Triton Inference Server |
@@ -78,7 +77,7 @@ For quick exploration of NeMo Export-Deploy, we recommend installing our pip pac
78
77
pip install nemo-export-deploy
79
78
```
80
79
81
-
This installation comes without extra dependencies like [TransformerEngine](https://github.com/NVIDIA/TransformerEngine/), [TensorRT-LLM](https://github.com/NVIDIA/TensorRT-LLM) or [vLLM](https://github.com/vllm-project/vllm). The installation serves for navigating around and for exploring the project.
80
+
This installation comes without extra dependencies like [TransformerEngine](https://github.com/NVIDIA/TransformerEngine/) or [vLLM](https://github.com/vllm-project/vllm). The installation serves for navigating around and for exploring the project.
82
81
83
82
For a feature-complete install, please refer to the following sections.
For containerized development, use our Dockerfile for building your own container. There are three flavors: `INFERENCE_FRAMEWORK=inframework`, `INFERENCE_FRAMEWORK=trtllm` and `INFERENCE_FRAMEWORK=vllm`:
97
+
For containerized development, use our Dockerfile for building your own container. There are two flavors: `INFERENCE_FRAMEWORK=inframework` and `INFERENCE_FRAMEWORK=vllm`:
For complete feature coverage, we recommend to install [TransformerEngine](https://github.com/NVIDIA/TransformerEngine/?tab=readme-ov-file#pip-installation) and additionally either [TensorRT-LLM](https://nvidia.github.io/TensorRT-LLM/0.20.0/installation/linux.html) or [vLLM](https://docs.vllm.ai/en/latest/getting_started/installation/gpu.html#pre-built-wheels).
118
+
For complete feature coverage, we recommend to install [TransformerEngine](https://github.com/NVIDIA/TransformerEngine/?tab=readme-ov-file#pip-installation) and additionally [vLLM](https://docs.vllm.ai/en/latest/getting_started/installation/gpu.html#pre-built-wheels).
120
119
121
120
#### Recommended Requirements
122
121
@@ -141,21 +140,6 @@ cd Export-Deploy/
141
140
pip install --no-build-isolation .
142
141
```
143
142
144
-
#### Install TransformerEngine + TensorRT-LLM
145
-
146
-
For highly optimized TransformerEngine path with TensorRT-LLM backend, please make sure to install the following prerequisites first:
147
-
148
-
```bash
149
-
sudo apt-get -y install libopenmpi-dev # Required for TensorRT-LLM
150
-
pip install torch==2.7.0 setuptools pybind11 wheel_stub # Required for TE
151
-
```
152
-
153
-
Now proceed with the main installation:
154
-
155
-
```bash
156
-
pip install --no-build-isolation .[trtllm]
157
-
```
158
-
159
143
#### Install TransformerEngine + vLLM
160
144
161
145
For highly optimized TransformerEngine path with vLLM backend, please make sure to install the following prerequisites first:
@@ -49,9 +49,9 @@ if [[ "$BASE_IMAGE" != "pytorch" && "$BASE_IMAGE" != "ubuntu" ]]; then
49
49
exit 1
50
50
fi
51
51
52
-
if [[ "$INFERENCE_FRAMEWORK"!="trtllm"&&"$INFERENCE_FRAMEWORK"!="vllm"&&"$INFERENCE_FRAMEWORK"!="inframework"&&"$INFERENCE_FRAMEWORK"!="trt-onnx" ]];then
53
-
echo"Error: --inference-framework must be either 'trtllm' or 'vllm' or 'inframework' or 'trt-onnx'"
0 commit comments