-
Notifications
You must be signed in to change notification settings - Fork 9
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
BUG: Parameter --execution_provider=['gpu'] in module FaceSwapper is not in ['cpu'] #87
Comments
It is not an error. This message means that your current hardware/software configuration supports only the 'cpu' execution provider for onnx runtime. |
@pozitronik So is there something I can do or it's just what it is? |
I'll try to explain it as much, as I understand it myself. |
@pozitronik Thanks for the explanation. I'd definitely try it and let you know how it goes. |
Maybe not the right thread, but just wanted to mention that since installing
One other thing that can help is that you replace it in requirements by this:
I tested those solutions and they worked for me. Maybe you can add Apple silicon hints to your README file. |
Thanks, i definitely will do that. |
Describe the bug
Everytime I try to choose a different execution provider, I face this error:
LoadingException: Parameter --execution_provider=['gpu'] in module FaceSwapper is not in ['cpu']
To Reproduce
Steps to reproduce the behavior:
python sin.py --source="cool_photo.jpg" --target="not_a_porn.mp4" --frame-processor FaceSwapper FaceEnhancer --output="result.mp4" --many-faces --execution-provider=cuda
If I choose
cuda
orgpu
I'll face this errorHere's the full stack trace:
MacBook Pro 2023 M2. 10-core GPU, 8-core CPU
Sanity Check
The text was updated successfully, but these errors were encountered: