Skip to content
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

[Bug]: update torch-install ,application boot up failure #72

Open
1 task done
armynew opened this issue Nov 3, 2023 · 14 comments
Open
1 task done

[Bug]: update torch-install ,application boot up failure #72

armynew opened this issue Nov 3, 2023 · 14 comments

Comments

@armynew
Copy link

armynew commented Nov 3, 2023

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

hello my frend,after I update the torch-install, & run it , start webui-user.bat , the boot up error,
the error is:
import torch.dynamo
File "D:\ailearn\sd-ui\stable-diffusion-webui\venv\lib\site-packages\torch_dynamo_init
.py", line 2, in
from . import allowed_functions, convert_frame, eval_frame, resume_execution
File "D:\ailearn\sd-ui\stable-diffusion-webui\venv\lib\site-packages\torch_dynamo\convert_frame.py", line 34, in
from .eval_frame import always_optimize_code_objects, skip_code, TorchPatcher
ValueError: source code string cannot contain null bytes

Steps to reproduce the problem

1.update torch-install
2. run webui-user
3. boot up error

What should have happened?

application boot up ok

Sysinfo

windows 10
intel I7-8565U

What browsers do you use to access the UI ?

Microsoft Edge

Console logs

see abover

Additional information

No response

@armynew
Copy link
Author

armynew commented Nov 3, 2023

I total reinstall the project,but still boot up error, anyone help me ?

@qiacheng
Copy link
Collaborator

qiacheng commented Nov 3, 2023

did you run first-time-runner.bat before running torch-install.bat? it looks like required packages are not installed

@armynew
Copy link
Author

armynew commented Nov 3, 2023

did you run first-time-runner.bat before running torch-install.bat? it looks like required packages are not installed

Yes , already run first-time-runner.bat

@armynew
Copy link
Author

armynew commented Nov 3, 2023

I delete the old project and resintall to try, but get the same result

@armynew
Copy link
Author

armynew commented Nov 6, 2023

anyone help?

@qiacheng
Copy link
Collaborator

qiacheng commented Nov 6, 2023

could you run stable-diffusion-webui/venv/scripts/python.exe -m pip list and show the env packages?

@armynew
Copy link
Author

armynew commented Nov 6, 2023

could you run stable-diffusion-webui/venv/scripts/python.exe -m pip list and show the env packages?

Package Version


absl-py 2.0.0
accelerate 0.21.0
addict 2.4.0
aenum 3.1.15
aiofiles 23.2.1
aiohttp 3.8.6
aiosignal 1.3.1
altair 5.1.2
antlr4-python3-runtime 4.9.3
anyio 3.7.1
async-timeout 4.0.3
attrs 23.1.0
basicsr 1.4.2
beautifulsoup4 4.12.2
blendmodes 2023
boltons 23.1.1
cachetools 5.3.2
certifi 2023.7.22
charset-normalizer 3.3.2
clean-fid 0.1.35
click 8.1.7
clip 1.0
colorama 0.4.6
contourpy 1.1.1
cycler 0.12.1
deprecation 2.1.0
diffusers 0.21.1
einops 0.4.1
exceptiongroup 1.1.3
facexlib 0.3.0
fastapi 0.94.0
ffmpy 0.3.1
filelock 3.13.1
filterpy 1.4.5
fonttools 4.43.1
frozenlist 1.4.0
fsspec 2023.10.0
ftfy 6.1.1
future 0.18.3
gdown 4.7.1
gfpgan 1.3.8
gitdb 4.0.11
GitPython 3.1.37
google-auth 2.23.4
google-auth-oauthlib 1.1.0
gradio 3.41.2
gradio_client 0.5.0
grpcio 1.59.2
h11 0.12.0
httpcore 0.15.0
httpx 0.24.1
huggingface-hub 0.18.0
idna 3.4
imageio 2.31.6
importlib-metadata 6.8.0
importlib-resources 6.1.0
inflection 0.5.1
invisible-watermark 0.2.0
Jinja2 3.1.2
jsonmerge 1.8.0
jsonschema 4.19.2
jsonschema-specifications 2023.7.1
kiwisolver 1.4.5
kornia 0.6.7
lark 1.1.2
lazy_loader 0.3
lightning-utilities 0.9.0
llvmlite 0.41.1
lmdb 1.4.1
lpips 0.1.4
Markdown 3.5.1
MarkupSafe 2.1.3
matplotlib 3.8.1
mpmath 1.3.0
multidict 6.0.4
networkx 3.2.1
numba 0.58.1
numpy 1.26.1
oauthlib 3.2.2
omegaconf 2.2.3
open-clip-torch 2.20.0
opencv-python 4.8.1.78
openvino 2023.1.0.dev20230811
openvino-nightly 2023.2.0.dev20231031
openvino-telemetry 2023.2.1
orjson 3.9.10
packaging 23.2
pandas 2.1.2
piexif 1.1.3
Pillow 10.0.1
pip 22.2.1
platformdirs 3.11.0
protobuf 3.20.0
psutil 5.9.5
pyasn1 0.5.0
pyasn1-modules 0.3.0
pydantic 1.10.13
pydub 0.25.1
pyparsing 3.1.1
PySocks 1.7.1
python-dateutil 2.8.2
python-multipart 0.0.6
pytorch-lightning 1.9.4
pytz 2023.3.post1
PyWavelets 1.4.1
PyYAML 6.0.1
realesrgan 0.3.0
referencing 0.30.2
regex 2023.10.3
requests 2.31.0
requests-oauthlib 1.3.1
resize-right 0.0.2
rpds-py 0.10.6
rsa 4.9
safetensors 0.3.1
scikit-image 0.21.0
scipy 1.11.3
semantic-version 2.10.0
sentencepiece 0.1.99
setuptools 63.2.0
six 1.16.0
smmap 5.0.1
sniffio 1.3.0
soupsieve 2.5
starlette 0.26.1
sympy 1.12
tb-nightly 2.16.0a20231102
tensorboard-data-server 0.7.2
tifffile 2023.9.26
timm 0.9.2
tokenizers 0.13.3
tomesd 0.1.3
tomli 2.0.1
toolz 0.12.0
torch 2.1.0
torchdiffeq 0.2.3
torchmetrics 1.2.0
torchsde 0.2.5
torchvision 0.16.0
tqdm 4.66.1
trampoline 0.1.2
transformers 4.30.2
typing_extensions 4.8.0
tzdata 2023.3
urllib3 2.0.7
uvicorn 0.23.2
wcwidth 0.2.9
websockets 11.0.3
Werkzeug 3.0.1
yapf 0.40.2
yarl 1.9.2
zipp 3.17.0

@armynew
Copy link
Author

armynew commented Nov 6, 2023

sorry for reply later @qiacheng

@armynew
Copy link
Author

armynew commented Nov 7, 2023

are u there ?

@armynew
Copy link
Author

armynew commented Nov 15, 2023

No one reply me

@ananosleep
Copy link

maybe you could try to update to the newest version, delete venv folder, and run webui-user.bat directly? openvino 2023.2.0 is released and the newest version use it.

@armynew
Copy link
Author

armynew commented Nov 28, 2023

Referen

thank you , I will try

@rodrigolopezguerra
Copy link

sorry , where its supposed to be torch-install.bat

PyTorch doesn't support torch.compile officially on windows yet. Launching torch-install.bat installs PyTorch and enables torch.compile for OpenVINO backend.

I don't have that file? 🤔

thanks

@ananosleep
Copy link

sorry , where its supposed to be torch-install.bat

PyTorch doesn't support torch.compile officially on windows yet. Launching torch-install.bat installs PyTorch and enables torch.compile for OpenVINO backend.

I don't have that file? 🤔

thanks

It's no longer needed now. Just run webui-user.bat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants