Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't install onnxruntime-gpu as per instructions #87

Closed
opinsky opened this issue Jul 10, 2024 · 4 comments
Closed

can't install onnxruntime-gpu as per instructions #87

opinsky opened this issue Jul 10, 2024 · 4 comments

Comments

@opinsky
Copy link
Contributor

opinsky commented Jul 10, 2024

Mac M1Max on Sonoma 14.5

trying to setup as per the instructions. everything works fine up until 'pip install -r requirements.txt', which fails when trying to install onnxruntime-gpu, generating the following error message:

ERROR: Ignored the following versions that require a different python version: 1.14.0 Requires-Python >=3.10; 1.14.0rc1 Requires-Python >=3.10; 1.14.0rc2 Requires-Python >=3.10 ERROR: Could not find a version that satisfies the requirement onnxruntime-gpu==1.18.0 (from versions: none) ERROR: No matching distribution found for onnxruntime-gpu==1.18.

I've also tried to setup a new environment with python 3.10.14, but the installation halts at the same place, with this error message:

ERROR: Ignored the following versions that require a different python version: 1.6.2 Requires-Python >=3.7,<3.10; 1.6.3 Requires-Python >=3.7,<3.10; 1.7.0 Requires-Python >=3.7,<3.10; 1.7.1 Requires-Python >=3.7,<3.10 ERROR: Could not find a version that satisfies the requirement onnxruntime-gpu==1.18.0 (from versions: none) ERROR: No matching distribution found for onnxruntime-gpu==1.18.0

@ExtremOPS
Copy link

I have a same issue. I created with pyenv a python 3.9.18 environment as described on the README.

conda create -n LivePortrait python==3.9.18

But also there the command pip install -r requirements.txt fails. It is at a later stage though but I think it is part of the same problem family.

I am trying it on a M2 Max Sonoma 14.5

ERROR: Ignored the following versions that require a different python version: 1.14.0 Requires-Python >=3.10; 1.14.0rc1 Requires-Python >=3.10; 1.14.0rc2 Requires-Python >=3.10
ERROR: Could not find a version that satisfies the requirement onnxruntime-gpu==1.18.0 (from versions: none)
ERROR: No matching distribution found for onnxruntime-gpu==1.18.0

@opinsky
Copy link
Contributor Author

opinsky commented Jul 11, 2024

It looks like all the code was designed around CUDA - i've tried using the Mx GPU / MPS but this refactor is way above my coding skills.

@zzzweakman
Copy link
Collaborator

Hey there,

I wanted to point out that there's been some impressive work for CPU inference done on #126. They've managed to get support for the M1 CPU. You might want to follow their progress as well. Great work is happening there : ) @opinsky @ExtremOPS

@zzzweakman
Copy link
Collaborator

Thank you for your patience, everyone. We are excited to inform you that LivePortrait now supports macOS with Apple Silicon! You can find more details here.

@opinsky @ExtremOPS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants