Skip to content

Commit 19ea396

Browse files
committed
add onnx 1.18 info
1 parent ecdf6f1 commit 19ea396

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/build/eps.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The onnxruntime code will look for the provider shared libraries in the same loc
4646
{: .no_toc }
4747

4848
* Install [CUDA](https://developer.nvidia.com/cuda-toolkit) and [cuDNN](https://developer.nvidia.com/cudnn)
49-
* The CUDA execution provider for ONNX Runtime is built and tested with CUDA 11.8, 12.x and cuDNN 9. Check [here](../execution-providers/CUDA-ExecutionProvider.md#requirements) for more version information.
49+
* The CUDA execution provider for ONNX Runtime is built and tested with CUDA 12.x and cuDNN 9. Check [here](../execution-providers/CUDA-ExecutionProvider.md#requirements) for more version information.
5050
* The path to the CUDA installation must be provided via the CUDA_HOME environment variable, or the `--cuda_home` parameter. The installation directory should contain `bin`, `include` and `lib` sub-directories.
5151
* The path to the CUDA `bin` directory must be added to the PATH environment variable so that `nvcc` is found.
5252
* The path to the cuDNN installation must be provided via the CUDNN_HOME environment variable, or `--cudnn_home` parameter. In Windows, the installation directory should contain `bin`, `include` and `lib` sub-directories.
@@ -125,12 +125,13 @@ See more information on the TensorRT Execution Provider [here](../execution-prov
125125

126126
### **[Note to ORT 1.21/1.22 open-sourced parser users]**
127127

128-
* ORT 1.21/1.22 link against onnx-tensorrt 10.8-GA/10.9-GA, which requires upcoming onnx 1.18.
129-
* Here's a temporarily fix to preview on onnx-tensorrt 10.8-GA (or newer) when building ORT 1.21/1.22:
130-
* Replace the [onnx line in cmake/deps.txt](https://github.com/microsoft/onnxruntime/blob/rel-1.22.0/cmake/deps.txt#L38)
131-
with `onnx;https://github.com/onnx/onnx/archive/f22a2ad78c9b8f3bd2bb402bfce2b0079570ecb6.zip;324a781c31e30306e30baff0ed7fe347b10f8e3c`
128+
* ORT 1.21/1.22 link against onnx-tensorrt 10.8-GA/10.9-GA, which requires newly released onnx 1.18.
129+
* Here's a temporarily fix to preview on onnx-tensorrt 10.8-GA/10.9-GA when building ORT 1.21/1.22:
130+
* Replace the [onnx line in cmake/deps.txt](https://github.com/microsoft/onnxruntime/blob/rel-1.21.0/cmake/deps.txt#L38)
131+
with `onnx;https://github.com/onnx/onnx/archive/e709452ef2bbc1d113faf678c24e6d3467696e83.zip;c0b9f6c29029e13dea46b7419f3813f4c2ca7db8`
132132
* Download [this](https://github.com/microsoft/onnxruntime/blob/7b2733a526c12b5ef4475edd47fd9997ebc2b2c6/cmake/patches/onnx/onnx.patch) as raw file and save file to [cmake/patches/onnx/onnx.patch](https://github.com/microsoft/onnxruntime/blob/rel-1.21.0/cmake/patches/onnx/onnx.patch) (do not copy/paste from browser, as it might alter line break type)
133133
* Build ORT with trt-related flags above (including `--use_tensorrt_oss_parser`)
134+
* The [onnx 1.18](https://github.com/onnx/onnx/releases/tag/v1.18.0) is supported by latest ORT main branch. Please checkout main branch and build ORT-TRT with `--use_tensorrt_oss_parser` to enable OSS parser with full onnx 1.18 support.
134135

135136
### Build Instructions
136137
{: .no_toc }

0 commit comments

Comments
 (0)