-
-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Issue] invalid torchvision version when installing torch with zluda #3318
Comments
i don't think this is windows 11 specific - for some reason version of torchvision installed does not match version of torch installed.
and possibly rerun installation using |
F:\ia\automatic\venv\Scripts>activate.bat (venv) F:\ia\automatic\venv\Scripts>pip show torch (venv) F:\ia\automatic\venv\Scripts>pip show torchvision F:\ia\automatic>webui --debug --use-zluda --reinstall
10:28:46-451422 INFO Forcing reinstall of all packages now it's working :D |
but it's not using the video card, I already downloaded a model to test |
I made another .bat file with the aro parameters for it |
Heh, that's what I do too; @echo off
set VENV_DIR=
set PYTHON=
webui.bat --autolaunch --debug --use-zluda %* This one clears VENV_DIR and PYTHON variables, then launches webui.bat with those args. The |
seems this issue is resolved? |
yes it is resolved |
Issue Description
when running while webui.bat --debug --use-zluda
│ F:\ia\automatic\webui.py:11 in │
│ │
│ 10 from threading import Thread │
│ ❱ 11 import modules.loader │
│ 12 import torch # pylint: disable=wrong-import-order │
│ │
│ F:\ia\automatic\modules\loader.py:23 in │
│ │
│ 22 warnings.filterwarnings(action="ignore", category=UserWarning, module="torchvision") │
│ ❱ 23 import torchvision # pylint: disable=W0611,C0411 │
│ 24 import pytorch_lightning # pytorch_lightning should be imported after torch, but it re-enables warnings on impo │
│ │
│ F:\ia\automatic\venv\lib\site-packages\torchvision_init_.py:6 in │
│ │
│ 5 import torch │
│ ❱ 6 from torchvision import _meta_registrations, datasets, io, models, ops, transforms, utils │
│ 7 │
│ │
│ F:\ia\automatic\venv\lib\site-packages\torchvision_meta_registrations.py:4 in │
│ │
│ 3 import torch │
│ ❱ 4 import torch._custom_ops │
│ 5 import torch.library │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
ModuleNotFoundError: No module named 'torch._custom_ops'
Version Platform Description
sdnext.txt
09:19:13-840873 INFO Starting SD.Next
09:19:13-843874 INFO Logger: file="F:\ia\automatic\sdnext.log" level=DEBUG size=65 mode=create
09:19:13-844876 INFO Python version=3.10.11 platform=Windows bin="F:\ia\automatic\venv\Scripts\python.exe"
venv="F:\ia\automatic\venv"
09:19:14-199180 INFO Version: app=sd.next updated=2024-07-05 hash=9e7bb45c branch=master
url=https://github.com/vladmandic/automatic/tree/master ui=main
09:19:14-646564 DEBUG Branch sync failed: sdnext=master ui=main
09:19:15-087444 INFO Platform: arch=AMD64 cpu=AMD64 Family 25 Model 33 Stepping 0, AuthenticAMD system=Windows
release=Windows-10-10.0.22631-SP0 python=3.10.11
Relevant log output
Backend
Diffusers
Branch
Master
Model
SD 1.5
Acknowledgements
The text was updated successfully, but these errors were encountered: