stable-diffusion-webui-docker
stable-diffusion-webui-docker copied to clipboard
Invoke 3.0 Dockerfile
This should be considered a WIP, but it's an attempt at InvokeAI's v3.0 integration into the current workflow. It will need to be reviewed for conformity with @AbdBarho's standards for this repo, but I tried to symlink in directories in a way that conforms with existing structure. There may be better ways to do this, such as disabling automatic downloads and copying files around, but this is the best I could do for now, perhaps it will be useful as a starting point. It is entirely functional for me.
The Dockerfile here is based on the upstream InvokeAI's Dockerfile.
The main changes consist of pulling in the invoke repo instead of building from it, as well as symlinks to their proper place. CPU support (as you do with A1111) is easily added if docker-compose from this repo is modified to pass GPU_DRIVER.
Due to the way InvokeAI runs, it will download some "core" models and support files while providing very little debugging output. First run took over an hour of downloading upscale models and other supporting files.
Closes issue #555 #553
Update versions
- invoke: https://github.com/invoke-ai/InvokeAI/commit/
Thank you for doing this. I wanted to update to 3.0 for a while but the invoke team changed a lot and because it all supposed to be automated away it has to find how to fit the changes into the current structure.
I haven't took a deeper look yet, I will come back to this later.