TheLastBen / fast-stable-diffusion

fast-stable-diffusion + DreamBooth
MIT License
7.52k stars 1.31k forks source link

Collab error - not working any more since today #2681

Open MajorGruberth opened 10 months ago

MajorGruberth commented 10 months ago

"WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for: PyTorch 2.1.0+cu118 with CUDA 1106 (you have 2.1.0+cu121) Python 3.9.16 (you have 3.10.12) Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)"

I would really like to work without interruptions like that. What does it mean? What do I have to do? For month I worked without much problems and suddenly this. How can I fix it? I am paying for Colab. What else can I do? Really p**!!

yashveer08 commented 10 months ago

I don't understand "fixed"

The notebook, downloaded 12-18-2023 is still giving me errors... everyone is all over the place with this.. scratching my head here... maybe the problem is with colab??

I guess you are using Automatic1111 file.

try adding these line just after you connect your google drive


!pip install lmdb
    !pip instal-q torch==2.0.0+cu118 torchvision==0.15.1+cu118 torchaudio==2.0.1+cu118 torchtext==0.15.1 torchdata==0.6.0 --extra-index-url https://download.pytorch.org/whl/cu118 -U
    !pip install xformers==0.0.19 triton==2.0.0 -U
    !pip install -U bitsandbytes
TheLastBen commented 10 months ago

don't add any line, just run the default notebook and it will work, adding any code will break the notebook

djwashout commented 10 months ago

Yep northing wrong with the notebook. It works, it sometimes doesn't work. Disconnect and delete runtime, and run again and it works. This has to be a colab issue!