GithubHelp home page GithubHelp logo

Comments (10)

AbdBarho avatar AbdBarho commented on September 25, 2024 2

@isapir I am working on a big refactor that includes cpu-support, It should hopefully be finished today.

from stable-diffusion-webui-docker.

isapir avatar isapir commented on September 25, 2024 1

Looks like this command got deleted in the Edit:

docker compose --profile auto-cpu up --build

But I'm still not sure where the model file is expected to be at on the host filesystem.

from stable-diffusion-webui-docker.

isapir avatar isapir commented on September 25, 2024 1

It said "Skipping model.ckpt".

I ran the download profile but it broke with some error, so I started over in a new directory and it works well.

Thank you very much!

I can confirm that it runs with CPU-only.

from stable-diffusion-webui-docker.

isapir avatar isapir commented on September 25, 2024

Thanks @AbdBarho! That's awesome!

from stable-diffusion-webui-docker.

AbdBarho avatar AbdBarho commented on September 25, 2024

@isapir can you try out the new branch with cpu support?

This is now merged to master.

from stable-diffusion-webui-docker.

isapir avatar isapir commented on September 25, 2024

@AbdBarho What is the docker command now? I tried:

docker compose up automatic1111-cpu 

I get an error that the model is not in the right place. I'm not sure where it should be on the host:

webui-docker-automatic1111-cpu-1 | FileNotFoundError: [Errno 2] No such file or directory: '/stable-diffusion-webui/repositories/stable-diffusion/models/ldm/stable-diffusion-v1/model.ckpt'

from stable-diffusion-webui-docker.

isapir avatar isapir commented on September 25, 2024

This is from https://github.com/AUTOMATIC1111/stable-diffusion-webui#automatic-installationlaunch but I'm not sure where to put it with your directory structure.

image

from stable-diffusion-webui-docker.

AbdBarho avatar AbdBarho commented on September 25, 2024

As stated in the release, the models folder should be moved to cache/models and then

docker compose --profile auto-cpu up --build

from stable-diffusion-webui-docker.

isapir avatar isapir commented on September 25, 2024

Sorry, I missed that, but even there it's not working for me:

webui-docker-automatic1111-cpu-1 | FileNotFoundError: [Errno 2] No such file or directory: '/stable-diffusion-webui/repositories/stable-diffusion/models/ldm/stable-diffusion-v1/model.ckpt'
webui-docker-automatic1111-cpu-1 exited with code 1

I tried both cache/models/model.ckpt and cache/models/ldm/stable-diffusion-v1/model.ckpt

from stable-diffusion-webui-docker.

AbdBarho avatar AbdBarho commented on September 25, 2024

@isapir Ok, lets debug this:

Can you show me the full log from the docker command until the error? At the beginning you should see one of

Mounted model.ckpt
or
Skipped model.ckpt

If you see the first one, it means there is a problem in the container that I have to fix, if you see the second, it means the folders where the data is stored is not correct.

Can you confirm that the cache/models folder looks like this?

cache/models/
├── model.ckpt
└── GFPGANv1.3.pth

Its not a problem if you have more files than this, but at least these should be available.

Finally, if all else fails, you can run

docker compose --profile download up --build

which will re-download all of the required files into the correct folder, and then you can start the UI.

from stable-diffusion-webui-docker.

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.