Code Monkey home page Code Monkey logo

Comments (5)

Barzing0 avatar Barzing0 commented on August 10, 2024 1

ok i uninstalled onxruntime-gpu and i had to uninstall onxruntime too.
onxruntime-gpu was coming from another extension i installed and unisntalled sometime (probably deepfaceLab), cause i never installed this manually.
Now it works !

from sd-webui-faceswaplab.

glucauze avatar glucauze commented on August 10, 2024

It's very strange because my loading method isn't very different. I'm not sure what could be causing this.

Maybe a corrupted inswapper file?

Or maybe it's a problem of installed dependencies. Could you look at the onnx and onnxruntime versions installed with pip list?

This is done by activating the stable diffusion environment:
venv/Scripts/activate.bat (or activate.ps1) under Windows

Did you install onnxruntime-gpu ?

from sd-webui-faceswaplab.

Barzing0 avatar Barzing0 commented on August 10, 2024

onnx 1.14.0
onnxruntime-gpu 1.12.1
onnxruntime 1.15.0

(venv) D:\A1111\stable-diffusion-webui\venv\Lib\site-packages>pip install onnxruntime-gpu
WARNING: Ignoring invalid distribution -rotobuf (d:\a1111\stable-diffusion-webui\venv\lib\site-packages)
Requirement already satisfied: onnxruntime-gpu in d:\a1111\stable-diffusion-webui\venv\lib\site-packages (1.12.1)
Requirement already satisfied: coloredlogs in d:\a1111\stable-diffusion-webui\venv\lib\site-packages (from onnxruntime-gpu) (15.0.1)
Requirement already satisfied: flatbuffers in d:\a1111\stable-diffusion-webui\venv\lib\site-packages (from onnxruntime-gpu) (2.0.7)
Requirement already satisfied: numpy>=1.21.0 in d:\a1111\stable-diffusion-webui\venv\lib\site-packages (from onnxruntime-gpu) (1.23.5)
Requirement already satisfied: packaging in d:\a1111\stable-diffusion-webui\venv\lib\site-packages (from onnxruntime-gpu) (23.1)
Requirement already satisfied: protobuf in d:\a1111\stable-diffusion-webui\venv\lib\site-packages (from onnxruntime-gpu) (3.20.3)
Requirement already satisfied: sympy in d:\a1111\stable-diffusion-webui\venv\lib\site-packages (from onnxruntime-gpu) (1.11.1)
Requirement already satisfied: humanfriendly>=9.1 in d:\a1111\stable-diffusion-webui\venv\lib\site-packages (from coloredlogs->onnxruntime-gpu) (10.0)
Requirement already satisfied: mpmath>=0.19 in d:\a1111\stable-diffusion-webui\venv\lib\site-packages (from sympy->onnxruntime-gpu) (1.3.0)
Requirement already satisfied: pyreadline3 in d:\a1111\stable-diffusion-webui\venv\lib\site-packages (from humanfriendly>=9.1->coloredlogs->onnxruntime-gpu) (3.4.1)
WARNING: Ignoring invalid distribution -rotobuf (d:\a1111\stable-diffusion-webui\venv\lib\site-packages)
DEPRECATION: torchsde 0.2.5 has a non-standard dependency specifier numpy>=1.19.*; python_version >= "3.7". pip 23.3 will enforce this behaviour change. A possible replacement is to upgrade to a newer version of torchsde or contact the author to suggest that they release a version with a conforming dependency specifiers. Discussion can be found at pypa/pip#12063

(venv) D:\A1111\stable-diffusion-webui\venv\Lib\site-packages>

Is this warning could be the problem ?

from sd-webui-faceswaplab.

glucauze avatar glucauze commented on August 10, 2024

Ok I think the problem comes from the fact that onnxruntime-gpu 1.12.1 is installed in your environment. I'm not managing the GPU at the moment.

I'll try to uninstall it to see (unless you need it):

pip uninstall onnxruntime-gpu

from sd-webui-faceswaplab.

glucauze avatar glucauze commented on August 10, 2024

I'll have to find a solution to manage the GPU too later on. Otherwise, certain frameworks could cause problems. I'll close it for now.

from sd-webui-faceswaplab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.