[Bug]: 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 instal #10331
Closed
Description
Is there an existing issue for this?
- I have searched the existing issues and checked the recent builds/commits
What happened?
changes at line 240 results in the following error:
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.
This error causes the launching fail.
Experimented with git clone the repo and modified launch.py
to revert 240 fixes the issue
See commit f5ea1e9
Kindly have a look to confirm if this issue can be replicated
Temporary workaround
git clone
the repocd
to the directorygit revert f5ea1e9 --no-edit
to revert this particular change
Steps to reproduce the problem
following the instruction for installation:
bash <(wget -qO- https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/webui.sh)
What should have happened?
the script should complete the installation
Commit where the problem happens
What platforms do you use to access the UI ?
Linux
What browsers do you use to access the UI ?
Mozilla Firefox, Google Chrome, Brave
Command Line Arguments
Not applicable
List of extensions
Not applicable
Console logs
Not applicable
Additional information
No response