Comments (10)
@isapir I am working on a big refactor that includes cpu-support, It should hopefully be finished today.
from stable-diffusion-webui-docker.
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.
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.
Thanks @AbdBarho! That's awesome!
from stable-diffusion-webui-docker.
@isapir can you try out the new branch with cpu support?
This is now merged to master.
from stable-diffusion-webui-docker.
@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.
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.
from stable-diffusion-webui-docker.
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.
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.
@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)
- error during container init: unable to apply apparmor profile HOT 1
- Updating auto1111 HOT 1
- Stuck at "removing nvidia-cudnn-cu11" forever HOT 4
- Unexpected error from cudaGetDeviceCount() HOT 13
- Docker install fails due to "missing" library HOT 11
- Automatic UI and Invoke fail to start (throwing exceptions) HOT 12
- Cannot load container on Ubuntu 24.04 HOT 4
- ModuleNotFoundError: No module named 'torch._custom_ops' HOT 3
- Cannot install auto HOT 1
- Redundant code in Auto
- Failed building in windows HOT 1
- install ComfyUI Manager when building the Comfy docker image
- Unable to build the "auto" (AUTOMATIC1111) image via docker build HOT 2
- ImportError: cannot import name 'TypeIs' HOT 13
- Model Checkpoint Not Found: Unable to Load Stable Diffusion Model HOT 1
- ImportError: cannot import name 'TypeIs' from 'typing_extensions' HOT 1
- Comfy installed but Error occurred when executing CLIPTextEncode HOT 4
- how do I add unet for FLUX-dev?
- After building to run, get 12 file errors and ImportError HOT 1
- Two files missing - Repository not found in hugging face - error 24 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stable-diffusion-webui-docker.