bes-dev / stable_diffusion.openvino

Apache License 2.0
1.53k stars 207 forks source link

Support Python 3.10 #125

Closed ghost closed 1 year ago

ghost commented 1 year ago

The OpenVINO package supports Python 3.10 now, and to get it to install properly we need to update the numpy version. After resolving the dependency it's working great on Ubuntu 22/Python 3.10 on both CPU and GPU.

I also added my performance results to the list.

smileBeda commented 1 year ago

Shouldn't it be 1.21.2 for numpy? At least according the error message we got in https://github.com/bes-dev/stable_diffusion.openvino/issues/131, it is

ghost commented 1 year ago

I don't remember the reason why I chose v1.23.4 instead but basically anything newer than v1.21.2 should work fine.

ghost commented 1 year ago

Deleted my fork as this project appears to be dead and I don't use it anymore. As far as I know it still works with Python 3.10 if you apply my patch.