add onnxruntime installation desc (#18133)

This commit is contained in:
zhang-prog authored and GitHub committed 2026-06-11 11:50:51 +08:00
1 parent 71c7fefbf5
commit 30c312b906
2 files changed
+4

No files matched your search

@@ -55,6 +55,8 @@ When using ONNX Runtime as the inference engine, install the ONNX Runtime packag
python -m pip install onnxruntime-gpu
```
The command above applies to NVIDIA GPUs in CUDA 12.x environments. For installation instructions for other devices or environments, please refer to the [ONNX Runtime official documentation](https://onnxruntime.ai/docs/install/).
## 4. Configuration and Supported Values of `engine` and `engine_config`
### 4.1 `engine`
@@ -55,6 +55,8 @@ python -m pip install "transformers>=5.10.0"
python -m pip install onnxruntime-gpu
```
以上命令适用于 CUDA 12.x 环境下的 NVIDIA GPU,其他设备或环境的安装方式请参考 [ONNX Runtime 官方文档](https://onnxruntime.ai/docs/install/)。
## 4. `engine` 和 `engine_config` 的设置与取值
### 4.1 `engine`