StreamDiffusion icon indicating copy to clipboard operation
StreamDiffusion copied to clipboard

onnxruntime 1.16.3 dependency is no longer available

Open drollicdotcom opened this issue 1 year ago • 4 comments

This package no longer installs on systems that do not already have the onnxruntime 1.16.3 package installed/cached. The install for this package fails with the error shown below. This dependency needs to be updated.

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

Even if you attempt to force pip to install it with this specific version, it also fails:

pip install onnxruntime==1.16.3

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

drollicdotcom avatar Jan 31 '25 14:01 drollicdotcom

Getting a similar error:

ERROR: Cannot install onnxruntime and streamdiffusion[tensorrt]==0.1.1 because these package versions have conflicting dependencies.

The conflict is caused by: The user requested onnxruntime streamdiffusion[tensorrt] 0.1.1 depends on onnxruntime==1.16.3; extra == "tensorrt"

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict

claylebeouf avatar Feb 10 '25 09:02 claylebeouf

I have the same problem when installing in Comfyui. I tried installing without dependencies and patch it to onnxruntime==1.19.2 but it did not work for me. Did anyone find a solution yet?

falliger avatar Feb 13 '25 13:02 falliger

Im having the same problem.. Cant find the 1.16.3 on Pypi, and on Microsoft`s page there is no wheel of it, just an uncompiled folder: https://github.com/microsoft/onnxruntime/releases/tag/v1.16.3

@cumulo-autumn any solution on installing it at the current ComfyUI using Torch 2.5.1 with Cuda 12.4 and Python 3.12 ?

Thanks in advance!

RoD

rodsott avatar Feb 18 '25 16:02 rodsott

Getting a similar error:

ERROR: Cannot install onnxruntime and streamdiffusion[tensorrt]==0.1.1 because these package versions have conflicting dependencies.

The conflict is caused by: The user requested onnxruntime streamdiffusion[tensorrt] 0.1.1 depends on onnxruntime==1.16.3; extra == "tensorrt"

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip to attempt to solve the dependency conflict

I fixed it using: pip install --no-deps "streamdiffusion[tensorrt]==0.1.1" But I yet don't know if it will lead to further issues.

jmarin-STG avatar Jun 12 '25 14:06 jmarin-STG