No matching distribution found for onnxruntime==1.15.0

Hi.

I am trying to train a model. It works well from the app side. I have downloaded the notebook from Google Colab and I have updated the cell based on what the app side is giving me. However, when trying to run it, it fails close to the beginning on the pip install section with a dependency error. It seems that we need super-gradients, which depends on onnxruntime version 1.15.0. However, onnxruntime is only available from versions 1.17.0 and higher.

I tried to change “stable” by older versions, but it doesn’t help.

here is the cell I am talking about:

!pip install -q git+https://github.com/Deci-AI/super-gradients.git@3.6.1
!pip install -q roboflow
!pip install -q supervision

Does anyone have any recommendation on out to fix this cell?

Thanks,

JMS

I try to enforce the installation of the 1.15.0 version like this:

!pip install onnxruntime==1.15.0

But it failed to:

ERROR: Could not find a version that satisfies the requirement onnxruntime==1.15.0 (from versions: 1.17.0, 1.17.1, 1.17.3, 1.18.0, 1.18.1, 1.19.0, 1.19.2)
ERROR: No matching distribution found for onnxruntime==1.15.0

After many tries and many dead ends, I figured that none of this is compatible with recent python versions. I fall back to 3.11 and I was able to get it working. There is still errors preventing the entire thing to run “as is” (Update checkpoint_utils.py to match new web urls in pretrained_models.py by hannadiamond · Pull Request #2061 · Deci-AI/super-gradients · GitHub) but with some little tweaks I was able to get it working. Definitely far from being obvious.

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