Giter Club home page Giter Club logo

Comments (7)

ainub avatar ainub commented on July 19, 2024

Make sure you have the latest version and the correct facexlib installed. To be on the safe side, recreate the conda environment to pull the lib from this git.

from stable-diffusion.

hlky avatar hlky commented on July 19, 2024

Yes thanks @ainub for that gfpgan related fix, I'll put a note about this on the readme

@oc013 If gfpgan and esrgan are off it shouldn't be the same issue, try --gpu 2 --extra-models-gpu --esrgan-gpu 2 --gfpgan-gpu 2 though please it could be something to do with how the options are set, I only have 1 graphics card so it's difficult to test this properly on my end.

from stable-diffusion.

oc013 avatar oc013 commented on July 19, 2024

I am updated to latest

If there are further updates for facexlib does conda not cover it?

sd  |   Attempting uninstall: facexlib
sd  |     Found existing installation: facexlib 0.2.4
sd  |     Uninstalling facexlib-0.2.4:
sd  |       Successfully uninstalled facexlib-0.2.4
sd  |   Running setup.py develop for facexlib

This is happening with default settings, just putting in a prompt, so gfpgan and esrgan are off.

from stable-diffusion.

hlky avatar hlky commented on July 19, 2024

Ok so can you try --gpu 2 --extra-models-gpu --esrgan-gpu 2 --gfpgan-gpu 2

from stable-diffusion.

oc013 avatar oc013 commented on July 19, 2024

Same error, and I tried with gfpgan and esrgan enabled with the same effect

sd  |  Expected all tensors to be on the same device, but found at least two devices, cuda:2 and cuda:0! (when checking argument for argument index in method wrapper__index_select)

from stable-diffusion.

oc013 avatar oc013 commented on July 19, 2024

It looks like the gpu param only works with --optimized flag, model.to(device) is only called when that is set

from stable-diffusion.

oc013 avatar oc013 commented on July 19, 2024

Does that mean it's fixed?

from stable-diffusion.

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.