-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Automatic1111 to 1.5.1 in Dockerfile, install generative-models to add compatibility for SDXL #560
Conversation
latest release of https://github.com/Stability-AI/generative-models 45c443b316737a4ab6e40413d7794a7f5657c19f fixes AbdBarho#559
accidentally slipped in i assume
there still seems to be an issue with accelerate, but it seems to run fine after it automatically restarts once after the error.
|
Looks like stable-diffusion-webui requires accelerate==0.18.0 (https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/68f336bd994bed5442ad95bad6b6ad5564a5409a/requirements_versions.txt#L3C1) and transformers requires accelerate>=0.20.3 (https://github.com/huggingface/transformers/blob/05cda5df3405e6a2ee4ecf8f7e1b2300ebda472e/setup.py#L101). This issue should probably be kicked upstairs to Automatic1111, so he can update his accelerate version. I'm surprised no one there has mentioned it. For what it's worth, I ran your commit, and I did not experience this error. |
Oh ... Stable-Diffusion-Webui requires transformers v4.25.1 which in turn only needs accelerate>=0.10.0 (https://github.com/huggingface/transformers/blob/31d452c68b34c2567b62924ee0df40a83cbc52d5/setup.py#L100) This wouldn't be the source of the conflict. @mashb1t, is it possible the error you experienced came from one of your extensions requiring the accelerate? |
thank you, I will download and test these now. what are the GPU requirements? we can hard-code a version of |
I already tested it with no extensions enabled and also no extensions in the folder at all due to the error only appearing on first container start and installation, not restarts after it has started once. @cloudaxes thank you for testing and providing feedback! |
@AbdBarho SDXL recommended GPU VRAM is 8GB if that's what you asked for. "SDXL 1.0 should work effectively on consumer GPUs with 8GB VRAM" |
Tested and it worked locally with the base model on a 6GB 1060 with Gonna merge and create a new release Thanks @mashb1t! |
i tried install and add new extension. it seems like we need pip3 install gradio_client==0.2.7 |
@xwings which extension? this is maybe an extension problem? |
i was referering to, when you click on the extenstion tab. it did not show the installed component and nothing work in the extension tab after fix the gradio_client version. it work now |
hmmm, weird, I did not have this problem at all. |
* Abd_master: Update Automatic1111 to 1.5.1 to add compatibility for SDXL (AbdBarho#560) Add startup script for comfy (AbdBarho#552) Upgrade k-diffusion to Release 0.0.15 to get access to DPM++ (2M) SDE sampler. (AbdBarho#537)
Update Automatic1111 to 1.5.1 to add compatibility for SDXL (AbdBarho#560)
…#560) Uses the latest release of https://github.com/Stability-AI/generative-models 45c443b316737a4ab6e40413d7794a7f5657c19f Tested with the official SDXL 1.0 model from https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/blob/main/sd_xl_base_1.0.safetensors and official refiner from https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/blob/main/sd_xl_refiner_1.0.safetensors. VAE: https://huggingface.co/stabilityai/sdxl-vae/blob/main/sdxl_vae.safetensors Closes AbdBarho#558 Closes AbdBarho#559 AUTOMATIC1111/stable-diffusion-webui@68f336b --------- Co-authored-by: AbdBarho <[email protected]>
uses the latest release of https://github.com/Stability-AI/generative-models 45c443b316737a4ab6e40413d7794a7f5657c19f
Tested with the official SDXL 1.0 model from https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/blob/main/sd_xl_base_1.0.safetensors and official refiner from https://huggingface.co/stabilityai/stable-diffusion-xl-refiner-1.0/blob/main/sd_xl_refiner_1.0.safetensors.
VAE: https://huggingface.co/stabilityai/sdxl-vae/blob/main/sdxl_vae.safetensors
Closes issue #
#559
Closes discussion #
#558
Update versions