diffusers
diffusers copied to clipboard
xformers issue, dreambooth wont run
Describe the bug
Is the repo still maintained? Its being filled with errors since a week and i dont think anybody made sure its working properly again since the latest issues with bitsandbytes... now im getting this ` 1m %pip install -q https://github.com/brian6091/xformers-wheels/releases/download/0.0.15.dev0%2B4c06c79/xformers-0.0.15.dev0+4c06c79.d20221205-cp38-cp38-linux_x86_64.whl
These were compiled on Tesla T4.
If precompiled wheels don't work, install it with the following command. It will take around 40 minutes to compile.
%pip install git+https://github.com/facebookresearch/xformers@4c06c79#egg=xformers
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.4/47.4 MB 12.4 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╸ 888.5/890.2 MB 39.3 MB/s eta 0:00:01tcmalloc: large alloc 1112711168 bytes == 0x3abfe000 @ 0x7fc146a56680 0x7fc146a76da2 0x5f714c 0x64d800 0x527022 0x504866 0x56bbe1 0x569d8a 0x5f60c3 0x56bbe1 0x569d8a 0x5f60c3 0x56bbe1 0x569d8a 0x5f60c3 0x56bbe1 0x569d8a 0x5f60c3 0x56bbe1 0x569d8a 0x5f60c3 0x56bbe1 0x5f5ee6 0x56bbe1 0x569d8a 0x5f60c3 0x56cc92 0x569d8a 0x5f60c3 0x56bbe1 0x569d8a
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 890.2/890.2 MB 1.9 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 317.1/317.1 MB 5.3 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 849.3/849.3 KB 52.7 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 21.0/21.0 MB 40.3 MB/s eta 0:00:00
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 557.1/557.1 MB 3.5 MB/s eta 0:00:00
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. torchvision 0.14.1+cu116 requires torch==1.13.1, but you have torch 1.13.0 which is incompatible. torchtext 0.14.1 requires torch==1.13.1, but you have torch 1.13.0 which is incompatible. torchaudio 0.13.1+cu116 requires torch==1.13.1, but you have torch 1.13.0 which is incompatible.`
Reproduction
No response
Logs
No response
System Info
colab
I hadn't used this repo for a while and tried to install it again, yesterday. Like you, I didn't get it to work at first, but by looking at the packages installed by StableTuner (https://github.com/devilismyfriend/StableTuner), I was able to get this up and running locally again.
Looking through my terminal history, I'm pretty sure these were the exact steps I took:
git clone https://github.com/ShivamShrirao/diffusers.git cd diffusers/examples/dreambooth/ python -m venv venv source venv/bin/activate pip install git+https://github.com/ShivamShrirao/diffusers.git pip install accelerate==0.15.0 pip install transformers==4.25.1 pip install ftfy==6.1.1 pip install bitsandbytes==0.35.4 pip install tensorboard==2.11.0 pip install https://github.com/C43H66N12O12S2/stable-diffusion-webui/releases/download/linux/xformers-0.0.14.dev0-cp310-cp310-linux_x86_64.whl pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 --extra-index-url "https://download.pytorch.org/whl/cu116" accelerate config
Hope it can help
@2blackbar You are using wrong version of files.

There is --no-deps in the command but not in yours. So make sure u are using latest version from https://colab.research.google.com/github/ShivamShrirao/diffusers/blob/main/examples/dreambooth/DreamBooth_Stable_Diffusion.ipynb