TonyLianLong / stable-diffusion-xl-demo

A gradio web UI demo for Stable Diffusion XL 1.0, with refiner and MultiGPU support
https://colab.research.google.com/github/TonyLianLong/stable-diffusion-xl-demo/blob/main/Stable_Diffusion_XL_Demo.ipynb
264 stars 65 forks source link

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. #9

Open eshao731 opened 4 months ago

eshao731 commented 4 months ago

Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/dist-packages (from python-dateutil>=2.8.1->pandas->gradio==3.14.0->-r requirements.txt (line 11)) (1.16.0) Requirement already satisfied: exceptiongroup in /usr/local/lib/python3.10/dist-packages (from anyio->httpx->gradio==3.14.0->-r requirements.txt (line 11)) (1.2.0) Installing collected packages: triton, torch Attempting uninstall: triton Found existing installation: triton 2.1.0 Uninstalling triton-2.1.0: Successfully uninstalled triton-2.1.0 Attempting uninstall: torch Found existing installation: torch 2.1.0 Uninstalling torch-2.1.0: Successfully uninstalled torch-2.1.0 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. torchaudio 2.1.0 requires torch==2.1.0, but you have torch 2.0.1 which is incompatible. torchdata 0.7.0 requires torch==2.1.0, but you have torch 2.0.1 which is incompatible. torchtext 0.16.0 requires torch==2.1.0, but you have torch 2.0.1 which is incompatible. torchvision 0.16.0 requires torch==2.1.0, but you have torch 2.0.1 which is incompatible. Successfully installed torch-2.0.1 triton-2.0.0

eshao731 commented 4 months ago

temporary solution: !pip install --force-reinstall torch==2.1.0 torchaudio==2.1.0 torchdata==0.7.0 torchtext==0.16.0 torchvision==0.16.0 !pip install fsspec==2023.6.0 !pip install "pillow<10.1.0,>=8.3.2" !pip install peft