Onnxruntime-gpu wheel with numpy 2.x support

I am trying to use kokoro-onnx on my Orin NX. It is built with numpy 2.x. However the most recent onnxruntime_gpu (1.23.0) is built with 1.x support and so I cannot target my device gpu at the moment.

Will the next version, (i.e. onnxruntime_gpu-1.24.x-cp310-cp310-linux_aarch64.whl) support numpy >= 2 and when is this expected to be released?

Hi,

Do you mean the package in jp6/cu126 index?
Since we only support JetPack 6 and JetPack 7 now, the package for JetPack 6 won’t be updated if no critical issue is found.

But you can still try to build it with jetson-container directly:

Thanks.

Yes - that is exactly what I meant. Okay, so it looks like I have only options for JetPack 6:

  1. Trying to build the 126 onnxruntime-gpu wheel myself with numpy 2.x; or,
  2. Use the Docker base and try to include numpy to 2.x with no dependency cnflicts.
    Is that correct or have I got other options?
    Best Wishes

Hi,

Our prebuilt supports numpy 1.x for dependency issues.
You can build it from the source if a higher numpy version is preferred.

Thanks.

I found the easier workaround was to downgrade the kokoro-onnx dependency and rebuild that from source. Thanks anyhow.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.