Open 2blackbar opened 1 year ago
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
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
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