d8ahazard / sd_dreambooth_extension

Other
1.85k stars 283 forks source link

[Bug]: Memory Attention default try to use xformers if Class Images Per Instance Image is greather that zero and need to generate images #1484

Open staltux opened 4 days ago

staltux commented 4 days ago

Is there an existing issue for this?

What happened?

setting Memory Attention to default and optimization to lion, the extension still try to use xformers to generate class images

Steps to reproduce the problem

set Class Images Per Instance Image greater that zero, try to train with no pre generated class images

Commit and libraries

not that i need to skip this part beacouse the default bitsandbytes dont work on my amdgpu, i need to compile from source Initializing Dreambooth Dreambooth revision: 45a12fe5950bf93205b6ef2b7511eb94052a241f Checking xformers... Checking bitsandbytes... Checking bitsandbytes (ALL!) Installing bitsandbytes Successfully installed bitsandbytes-0.43.0 Checking Dreambooth requirements... Installed version of bitsandbytes: 0.43.0 [Dreambooth] bitsandbytes v0.43.0 is already installed. Installed version of accelerate: 0.21.0 [Dreambooth] accelerate v0.21.0 is already installed. Installed version of dadaptation: 3.2 [Dreambooth] dadaptation v3.2 is already installed. Installed version of diffusers: 0.29.2 [Dreambooth] diffusers v0.25.0 is already installed. Installed version of discord-webhook: 1.3.0 [Dreambooth] discord-webhook v1.3.0 is already installed. Installed version of fastapi: 0.94.0 [Dreambooth] fastapi is already installed. Installed version of gitpython: 3.1.32 [Dreambooth] gitpython v3.1.40 is not installed. Successfully installed gitpython-3.1.43 Installed version of pytorch_optimizer: 2.12.0 [Dreambooth] pytorch_optimizer v2.12.0 is already installed. Installed version of Pillow: 9.5.0 [Dreambooth] Pillow is already installed. Installed version of tqdm: 4.66.4 [Dreambooth] tqdm is already installed. Installed version of tomesd: 0.1.3 [Dreambooth] tomesd v0.1.2 is already installed. Installed version of tensorboard: 2.13.0 [Dreambooth] tensorboard v2.13.0 is already installed. [+] torch version 2.2.0.dev20231010+rocm5.7 installed. [+] torchvision version 0.17.0.dev20231010+rocm5.7 installed. [+] accelerate version 0.21.0 installed. [+] diffusers version 0.29.2 installed. [+] bitsandbytes version 0.43.0 installed. [!] xformers NOT installed. Launching Web UI with arguments: --listen --enable-insecure-extension-access --no-download-sd-model

Command Line Arguments

--skip-install --listen --enable-insecure-extension-access --no-download-sd-model

Console logs

https://pastebin.com/VXH5Ev9g

Additional information

No response