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

[Issue]: Latest Version Install Failure #3689

Open
2 tasks done
ambzh opened this issue Jan 7, 2025 · 2 comments
Open
2 tasks done

[Issue]: Latest Version Install Failure #3689

ambzh opened this issue Jan 7, 2025 · 2 comments
Labels
platform Platform specific problem question Further information is requested

Comments

@ambzh
Copy link

ambzh commented Jan 7, 2025

Issue Description

Gave a new install of latest version, unexpected error occured and aborted as log shows;

(originally I updated my old version, but the img2img,impaint,detailer cannot function, so I gave a new install for try)

Version Platform Description

  • Version: app=sd.next updated=2025-01-02 hash=3f360891 branch=master
  • Platform: arch=AMD64 cpu=Intel64 Family 6 Model 140 Stepping 2, GenuineIntel system=Windows release=Windows-10-10.0.22631-SP0 python=3.10.11 docker=False
  • GPU: Intel(R) Iris(R) Xe Graphics

Relevant log output

15:24:22-817852 INFO     Starting SD.Next
15:24:22-817852 INFO     Logger: file="D:\AITOOL\sdnx\sdnext.log" level=DEBUG size=65 mode=create
15:24:22-817852 INFO     Python: version=3.10.11 platform=Windows bin="D:\AITOOL\sdnx\venv\Scripts\python.exe"
                         venv="D:\AITOOL\sdnx\venv"
15:24:23-499367 INFO     Version: app=sd.next updated=2025-01-02 hash=3f360891 branch=master
                         url=https://github.com/vladmandic/automatic/tree/master ui=main
15:24:24-733747 INFO     Platform: arch=AMD64 cpu=Intel64 Family 6 Model 140 Stepping 2, GenuineIntel system=Windows
                         release=Windows-10-10.0.22631-SP0 python=3.10.11 docker=False
15:24:24-751894 DEBUG    Packages: venv=venv site=['venv', 'venv\\lib\\site-packages']
15:24:24-751894 INFO     Args: ['--debug', '--use-openvino']
15:24:24-751894 DEBUG    Setting environment tuning
15:24:24-751894 DEBUG    Torch allocator: "garbage_collection_threshold:0.80,max_split_size_mb:512"
15:24:24-764987 DEBUG    Torch overrides: cuda=False rocm=False ipex=False directml=False openvino=True zluda=False
15:24:24-764987 INFO     Python: version=3.10.11 platform=Windows bin="D:\AITOOL\sdnx\venv\Scripts\python.exe"
                         venv="D:\AITOOL\sdnx\venv"
15:24:24-764987 INFO     OpenVINO: selected
15:24:24-764987 DEBUG    Install: package="openvino" install required
15:24:37-189068 DEBUG    Install: package="onnxruntime-openvino" install required
15:25:11-968414 DEBUG    Install: package="nncf" install required
15:26:40-376649 DEBUG    Install: package="torch" install required
15:26:40-376649 INFO     Torch: download and install in progress... cmd="torch==2.3.1+cpu torchvision==0.18.1+cpu
                         --index-url https://download.pytorch.org/whl/cpu"
15:27:31-353941 DEBUG    Install: package="onnx" install required
15:27:49-243365 DEBUG    Install: package="onnxruntime" install required
15:27:56-653140 INFO     Diffusers install: package=None current= target=6dfaec348780c6153a4cfd03a01972a291d67f82
15:29:45-278351 INFO     Install requirements: this may take a while...
15:32:22-603292 DEBUG    Install: package="torch" install required
15:32:22-603292 INFO     Install: verifying requirements
15:32:22-618848 DEBUG    Install: package="psutil" install required
15:32:22-665790 DEBUG    Install: package="rich" install required
15:32:22-712672 DEBUG    Install: package="requests" install required
15:32:27-125196 INFO     Verifying packages
15:32:40-978325 INFO     Startup: standard
15:32:40-978325 INFO     Verifying submodules
15:33:35-208776 DEBUG    Git detached head detected: folder="extensions-builtin/sd-extension-chainner" reattach=main
15:33:35-208776 DEBUG    Git submodule: extensions-builtin/sd-extension-chainner / main
15:33:36-865666 DEBUG    Git detached head detected: folder="extensions-builtin/sd-extension-system-info" reattach=main
15:33:36-865666 DEBUG    Git submodule: extensions-builtin/sd-extension-system-info / main
15:33:37-476734 DEBUG    Git detached head detected: folder="extensions-builtin/sd-webui-agent-scheduler" reattach=main
15:33:37-476734 DEBUG    Git submodule: extensions-builtin/sd-webui-agent-scheduler / main
15:33:38-502686 DEBUG    Git detached head detected: folder="extensions-builtin/sdnext-modernui" reattach=main
15:33:38-502686 DEBUG    Git submodule: extensions-builtin/sdnext-modernui / main
15:33:40-061074 DEBUG    Git detached head detected: folder="extensions-builtin/stable-diffusion-webui-rembg"
                         reattach=master
15:33:40-061074 DEBUG    Git submodule: extensions-builtin/stable-diffusion-webui-rembg / master
15:33:40-527779 DEBUG    Git detached head detected: folder="modules/k-diffusion" reattach=master
15:33:40-527779 DEBUG    Git submodule: modules/k-diffusion / master
15:33:41-125953 DEBUG    Git detached head detected: folder="wiki" reattach=master
15:33:41-125953 DEBUG    Git submodule: wiki / master
15:33:41-736405 DEBUG    Register paths
15:33:41-783283 DEBUG    Installed packages: 184
15:33:41-783283 DEBUG    Extensions all: ['Lora', 'sd-extension-chainner', 'sd-extension-system-info',
                         'sd-webui-agent-scheduler', 'sdnext-modernui', 'stable-diffusion-webui-rembg']
15:33:41-940308 DEBUG    Extension installer: D:\AITOOL\sdnx\extensions-builtin\sd-webui-agent-scheduler\install.py
15:33:49-737387 INFO     Extension installed packages: sd-webui-agent-scheduler ['SQLAlchemy==2.0.36',
                         'greenlet==3.1.1']
15:33:49-784586 DEBUG    Extension installer: D:\AITOOL\sdnx\extensions-builtin\stable-diffusion-webui-rembg\install.py
15:34:01-151396 INFO     Extension installed packages: stable-diffusion-webui-rembg ['PyMatting==1.1.13',
                         'opencv-python-headless==4.10.0.84', 'pooch==1.8.2', 'rembg==2.0.61']
15:34:01-151396 DEBUG    Extensions all: []
15:34:01-151396 INFO     Extensions enabled: ['Lora', 'sd-extension-chainner', 'sd-extension-system-info',
                         'sd-webui-agent-scheduler', 'sdnext-modernui', 'stable-diffusion-webui-rembg']
15:34:01-151396 INFO     Install requirements: this may take a while...
15:34:01-167018 INFO     Install: verifying requirements
15:34:01-167018 DEBUG    Setup complete without errors: 1736235241
15:34:01-167018 DEBUG    Extension preload: {'extensions-builtin': 0.0, 'extensions': 0.0}
15:34:01-167018 INFO     Command line args: ['--debug', '--use-openvino'] use_openvino=True debug=True
15:34:01-167018 DEBUG    Env flags: []
15:34:01-167018 DEBUG    Starting module: <module 'webui' from 'D:\\AITOOL\\sdnx\\webui.py'>
15:34:13-805933 DEBUG    Reading failed: config.json [Errno 2] No such file or directory: 'config.json'
INFO:nncf:NNCF initialized successfully. Supported frameworks detected: torch, onnx, openvino
The cache for model files in Transformers v4.22.0 has been updated. Migrating your old cache. This is a one-time only operation. You can interrupt this and resume the migration later on by calling `transformers.utils.move_cache()`.
0it [00:00, ?it/s]
Press any key to continue. . .

Backend

Diffusers

UI

Standard

Branch

Master

Model

StableDiffusion 1.5

Acknowledgements

  • I have read the above and searched for existing issues
  • I confirm that this is classified correctly and its not an extension issue
@vladmandic
Copy link
Owner

Reading failed: config.json [Errno 2] No such file or directory: 'config.json'

this is just a notice, not an error

Press any key to continue. . .

this means that python process has crashed on os level, so sdnext had no chance to log actual error.
since last message is this:

The cache for model files in Transformers

lets try to remove existing cache - delete folder C:\Users\<username>\.cache (change to whatever your user home is)

other than that, need to check windows event logs for error - it will tell you why python crashed.

@vladmandic vladmandic added platform Platform specific problem question Further information is requested labels Jan 7, 2025
@ambzh
Copy link
Author

ambzh commented Jan 8, 2025

understood, I checked the win event log, and the crashing was caused by MSVCP140.dll

the details in event log shown as:

  • EventData
    AppName python.exe
    AppVersion 3.10.11150.1013
    AppTimeStamp 642cc427
    ModuleName MSVCP140.dll
    ModuleVersion 14.28.29334.0
    ModuleTimeStamp 5fa9a827
    ExceptionCode c0000005
    FaultingOffset 0000000000012eb0
    ProcessId 0x2a54
    ProcessCreationTime 0x1db61eec56d1e0a
    AppPath D:\SD\python\python.exe
    ModulePath D:\AITOOL\sdnx\venv\lib\site-packages\pyarrow\MSVCP140.dll
    IntegratorReportId 7ef30b9e-f9d1-467b-86a8-5597d45db169
    PackageFullName
    PackageRelativeAppId

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform Platform specific problem question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants