# VTK 9.6 ONNX runtime installation

**URL:** https://discourse.vtk.org/t/vtk-9-6-onnx-runtime-installation/16410
**Category:** Support
**Created:** [May 7, 2026, 8:52am UTC](https://discourse.vtk.org/t/vtk-9-6-onnx-runtime-installation/16410 "2026-05-07T08:52:47Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![JudyZ](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/j/7bcc69/32.png) [@JudyZ](https://discourse.vtk.org/u/JudyZ)
#### Post date: [May 7, 2026, 8:52am UTC](https://discourse.vtk.org/t/vtk-9-6-onnx-runtime-installation/16410/1 "2026-05-07T08:52:47Z")

</div>

Hi, I tried to install ONNX runtime in order to use the new filter FiltersONNX. But I got some issues. First of all, I get an error message that the supported API versions is only [1, 17]. So normally, I can use 1.17.1 isn’t it ? My other question is what I have to install ? Directly the onnxruntime package or I need to rebuild from the source ? Thanks for your help.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.vtk.org/user_avatar/discourse.vtk.org/mwestphal/32/19_2.png) [@mwestphal](https://discourse.vtk.org/u/mwestphal)
#### Post date: [May 7, 2026, 9:14am UTC](https://discourse.vtk.org/t/vtk-9-6-onnx-runtime-installation/16410/2 "2026-05-07T09:14:27Z")

</div>

@Guillaume_Gisbert

---

<div class="post-metadata">

### Author: ![Guillaume\_Gisbert](https://discourse.vtk.org/user_avatar/discourse.vtk.org/guillaume_gisbert/32/9782_2.png) [@Guillaume\_Gisbert](https://discourse.vtk.org/u/Guillaume_Gisbert)
#### Post date: [May 7, 2026, 10:19am UTC](https://discourse.vtk.org/t/vtk-9-6-onnx-runtime-installation/16410/3 "2026-05-07T10:19:03Z")

</div>

Hi,

The recommended way to use the ONNX module is to download the release here : [Releases · microsoft/onnxruntime · GitHub](https://github.com/microsoft/onnxruntime/releases). Just so you know, we currently test on version 1.22.0.

Then, in your ParaView cmake configuration, you need to enable `PARAVIEW_PLUGIN_ENABLE_ONNXPlugin`, `VTK_MODULE_ENABLE_VTK_FiltersONNX` and set the `onnxruntime_DIR` to `/onnxruntime_path/lib/cmake/onnxruntime`.

Best,

---

<div class="post-metadata">

### Author: ![JudyZ](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/j/7bcc69/32.png) [@JudyZ](https://discourse.vtk.org/u/JudyZ)
#### Post date: [May 7, 2026, 1:15pm UTC](https://discourse.vtk.org/t/vtk-9-6-onnx-runtime-installation/16410/4 "2026-05-07T13:15:39Z")

</div>

Thank you for your quick answer. When I download only the binary package of onnxruntime, I have no folder /lib/cmake/onnxruntime. So do I need to download the source and generate the bin ? There si a specific configuration ?

---

<div class="post-metadata">

### Author: ![Guillaume\_Gisbert](https://discourse.vtk.org/user_avatar/discourse.vtk.org/guillaume_gisbert/32/9782_2.png) [@Guillaume\_Gisbert](https://discourse.vtk.org/u/Guillaume_Gisbert)
#### Post date: [May 11, 2026, 7:41am UTC](https://discourse.vtk.org/t/vtk-9-6-onnx-runtime-installation/16410/5 "2026-05-11T07:41:33Z")

</div>

Did you use pip to download the package or did you download the release on the Github repo ?

---

<div class="post-metadata">

### Author: ![JudyZ](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/j/7bcc69/32.png) [@JudyZ](https://discourse.vtk.org/u/JudyZ)
#### Post date: [May 11, 2026, 7:49am UTC](https://discourse.vtk.org/t/vtk-9-6-onnx-runtime-installation/16410/6 "2026-05-11T07:49:24Z")

</div>

I download from the Github repo this package onnxruntime-win-x64-1.22.0.zip

---

<div class="post-metadata">

### Author: ![Guillaume\_Gisbert](https://discourse.vtk.org/user_avatar/discourse.vtk.org/guillaume_gisbert/32/9782_2.png) [@Guillaume\_Gisbert](https://discourse.vtk.org/u/Guillaume_Gisbert)
#### Post date: [May 11, 2026, 8:40am UTC](https://discourse.vtk.org/t/vtk-9-6-onnx-runtime-installation/16410/7 "2026-05-11T08:40:36Z")

</div>

I should have asked your OS first. Unfortunately, the ONNXRuntime Windows release does not provide the required cmake files. The only way is to rewrite this missing piece of code or to generate it from the sources.

---

<div class="post-metadata">

### Author: ![Guillaume\_Gisbert](https://discourse.vtk.org/user_avatar/discourse.vtk.org/guillaume_gisbert/32/9782_2.png) [@Guillaume\_Gisbert](https://discourse.vtk.org/u/Guillaume_Gisbert)
#### Post date: [May 12, 2026, 7:45am UTC](https://discourse.vtk.org/t/vtk-9-6-onnx-runtime-installation/16410/8 "2026-05-12T07:45:58Z")

</div>

FYI, an issue was opened here: [[Build] Windows release lacks cmake files · Issue #28468 · microsoft/onnxruntime · GitHub](https://github.com/microsoft/onnxruntime/issues/28468)
