-
Notifications
You must be signed in to change notification settings - Fork 29.2k
Closed
Labels
bug-reportReport of a bug, yet to be confirmedReport of a bug, yet to be confirmed
Description
Is there an existing issue for this?
- I have searched the existing issues and checked the recent builds/commits
What happened?
i get the following error after trying to start the web ui on google colab,
RuntimeError: Detected that PyTorch and torchvision were compiled with different CUDA versions. PyTorch has CUDA Version=11.7 and torchvision has CUDA Version=11.8. Please reinstall the torchvision that matches your PyTorch install.
i tried this :
pip install torchvision==0.9.0 -f https://download.pytorch.org/whl/cu11.7/torch_stable.html
the web ui worked but it crashs when i try to generate
Steps to reproduce the problem
here is the colab i am using : https://colab.research.google.com/drive/12cFZBVdONLEgRD0uT3cozxZStKKVLlA3?usp=sharing
What should have happened?
I literally used the web ui yesterday normally but idk whats wrong today
Commit where the problem happens
What platforms do you use to access the UI ?
Linux
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
--share --disable-safe-unpickle --no-half-vae --xformers --reinstall-xformers --enable-insecure-extension-accessList of extensions
Image Browser
Bad Prompt
Console logs
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Collecting fastapi==0.90.0
Downloading fastapi-0.90.0-py3-none-any.whl (56 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.0/56.0 KB 2.3 MB/s eta 0:00:00
Collecting starlette<=0.23.0,>=0.22.0
Downloading starlette-0.23.0-py3-none-any.whl (64 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 64.5/64.5 KB 3.6 MB/s eta 0:00:00
Requirement already satisfied: pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2 in /usr/local/lib/python3.9/dist-packages (from fastapi==0.90.0) (1.10.7)
Requirement already satisfied: typing-extensions>=4.2.0 in /usr/local/lib/python3.9/dist-packages (from pydantic!=1.7,!=1.7.1,!=1.7.2,!=1.7.3,!=1.8,!=1.8.1,<2.0.0,>=1.6.2->fastapi==0.90.0) (4.5.0)
Collecting anyio<5,>=3.4.0
Downloading anyio-3.6.2-py3-none-any.whl (80 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.6/80.6 KB 5.0 MB/s eta 0:00:00
Collecting sniffio>=1.1
Downloading sniffio-1.3.0-py3-none-any.whl (10 kB)
Requirement already satisfied: idna>=2.8 in /usr/local/lib/python3.9/dist-packages (from anyio<5,>=3.4.0->starlette<=0.23.0,>=0.22.0->fastapi==0.90.0) (3.4)
Installing collected packages: sniffio, anyio, starlette, fastapi
Successfully installed anyio-3.6.2 fastapi-0.90.0 sniffio-1.3.0 starlette-0.23.0
Cloning into 'stable-diffusion-webui'...
remote: Enumerating objects: 17850, done.
remote: Total 17850 (delta 0), reused 0 (delta 0), pack-reused 17850
Receiving objects: 100% (17850/17850), 28.22 MiB | 31.44 MiB/s, done.
Resolving deltas: 100% (12501/12501), done.
Cloning into '/content/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser'...
remote: Enumerating objects: 143, done.
remote: Counting objects: 100% (34/34), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 143 (delta 25), reused 22 (delta 22), pack-reused 109
Receiving objects: 100% (143/143), 37.96 KiB | 3.16 MiB/s, done.
Resolving deltas: 100% (51/51), done.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1137 100 1137 0 0 9886 0 --:--:-- --:--:-- --:--:-- 9801
100 25515 100 25515 0 0 106k 0 --:--:-- --:--:-- --:--:-- 106k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1123 100 1123 0 0 11821 0 --:--:-- --:--:-- --:--:-- 11821
100 25323 100 25323 0 0 136k 0 --:--:-- --:--:-- --:--:-- 136k
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1161 100 1161 0 0 12221 0 --:--:-- --:--:-- --:--:-- 12221
100 4067M 100 4067M 0 0 145M 0 0:00:27 0:00:27 --:--:-- 146M
/content/stable-diffusion-webui
Note: switching to '91c8d0d'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 91c8d0dc Merge pull request #7231 from EllangoK/master
Python 3.9.16 (main, Dec 7 2022, 01:11:51)
[GCC 9.4.0]
Commit hash: 91c8d0dcfc9a5d46aec47fd3eb34c633c104b5bb
Installing gfpgan
Installing clip
Installing open_clip
Installing xformers
Cloning Stable Diffusion into repositories/stable-diffusion-stability-ai...
Cloning Taming Transformers into repositories/taming-transformers...
Cloning K-diffusion into repositories/k-diffusion...
Cloning CodeFormer into repositories/CodeFormer...
Cloning BLIP into repositories/BLIP...
Installing requirements for CodeFormer
Installing requirements for Web UI
Launching Web UI with arguments: --share --disable-safe-unpickle --no-half-vae --xformers --enable-insecure-extension-access
Traceback (most recent call last):
File "/content/stable-diffusion-webui/launch.py", line 360, in <module>
start()
File "/content/stable-diffusion-webui/launch.py", line 351, in start
import webui
File "/content/stable-diffusion-webui/webui.py", line 16, in <module>
from modules import extra_networks_hypernet, ui_extra_networks_hypernets, ui_extra_networks_textual_inversion
File "/content/stable-diffusion-webui/modules/extra_networks_hypernet.py", line 1, in <module>
from modules import extra_networks, shared, extra_networks
File "/content/stable-diffusion-webui/modules/shared.py", line 12, in <module>
import modules.interrogate
File "/content/stable-diffusion-webui/modules/interrogate.py", line 11, in <module>
from torchvision import transforms
File "/usr/local/lib/python3.9/dist-packages/torchvision/__init__.py", line 6, in <module>
from torchvision import datasets, io, models, ops, transforms, utils
File "/usr/local/lib/python3.9/dist-packages/torchvision/datasets/__init__.py", line 1, in <module>
from ._optical_flow import FlyingChairs, FlyingThings3D, HD1K, KittiFlow, Sintel
File "/usr/local/lib/python3.9/dist-packages/torchvision/datasets/_optical_flow.py", line 12, in <module>
from ..io.image import _read_png_16
File "/usr/local/lib/python3.9/dist-packages/torchvision/io/__init__.py", line 8, in <module>
from ._load_gpu_decoder import _HAS_GPU_VIDEO_DECODER
File "/usr/local/lib/python3.9/dist-packages/torchvision/io/_load_gpu_decoder.py", line 1, in <module>
from ..extension import _load_library
File "/usr/local/lib/python3.9/dist-packages/torchvision/extension.py", line 107, in <module>
_check_cuda_version()
File "/usr/local/lib/python3.9/dist-packages/torchvision/extension.py", line 80, in _check_cuda_version
raise RuntimeError(
RuntimeError: Detected that PyTorch and torchvision were compiled with different CUDA versions. PyTorch has CUDA Version=11.7 and torchvision has CUDA Version=11.8. Please reinstall the torchvision that matches your PyTorch install.Additional information
No response
neuralgitwork, RayYH, xDazld, zihaolucky and deanAirre
Metadata
Metadata
Assignees
Labels
bug-reportReport of a bug, yet to be confirmedReport of a bug, yet to be confirmed