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]: Any error happening after 'commit hash : XXXX' is not related to the launcher. Please report them on Automatic1111's github instead : #15575

Open
2 of 6 tasks
hao0606 opened this issue Apr 19, 2024 · 1 comment
Labels
asking-for-help-with-local-system-issues This issue is asking for help related to local system; please offer assistance

Comments

@hao0606
Copy link

hao0606 commented Apr 19, 2024

Checklist

  • The issue exists after disabling all extensions
  • The issue exists on a clean installation of webui
  • The issue is caused by an extension, but I believe it is caused by a bug in the webui
  • The issue exists in the current version of the webui
  • The issue has not been reported before recently
  • The issue has been reported before but has not been fixed yet

What happened?

Can be started through http://127.0.0.1:7860,
but Error
Expecting value: line 1 column 1 (char 0)

Any error happening after 'commit hash : XXXX' is not related to the launcher. Please report them on Automatic1111's github instead :
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/new/choose
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Cancel
venv "F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\Scripts\Python.exe"
fatal: No names found, cannot describe anything.
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: 1.9.0
Commit hash: 1db3194d931a44b7e9fec9c3146efecf3d478f61
Launching Web UI with arguments: --autolaunch
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Loading weights [7f008929e1] from F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors
loading stable diffusion model: SafetensorError
Traceback (most recent call last):
File "C:\Users\ma_ru\AppData\Local\Programs\Python\Python310\lib\threading.py", line 973, in _bootstrap
self._bootstrap_inner()
File "C:\Users\ma_ru\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1016, in _bootstrap_inner
self.run()
File "C:\Users\ma_ru\AppData\Local\Programs\Python\Python310\lib\threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\modules\initialize.py", line 149, in load_model
shared.sd_model # noqa: B018
File "F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\modules\shared_items.py", line 175, in sd_model
return modules.sd_models.model_data.get_sd_model()
File "F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\modules\sd_models.py", line 620, in get_sd_model
load_model()
File "F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\modules\sd_models.py", line 705, in load_model
state_dict = get_checkpoint_state_dict(checkpoint_info, timer)
File "F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\modules\sd_models.py", line 330, in get_checkpoint_state_dict
res = read_state_dict(checkpoint_info.filename)
File "F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\modules\sd_models.py", line 304, in read_state_dict
pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
File "F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 308, in load_file
with safe_open(filename, framework="pt", device=device) as f:
safetensors_rust.SafetensorError: Error while deserializing header: MetadataIncompleteBuffer

Stable diffusion model failed to load
Applying attention optimization: Doggettx... done.
Running on local URL: http://127.0.0.1:7860

To create a public link, set share=True in launch().
Startup time: 93.6s (initial startup: 0.1s, prepare environment: 33.5s, import torch: 14.1s, import gradio: 6.7s, setup paths: 11.6s, initialize shared: 18.7s, other imports: 6.1s, list SD models: 0.4s, load scripts: 1.3s, create ui: 0.9s, gradio launch: 0.8s).

Steps to reproduce the problem

Run F:\A1111 Web UI Autoinstaller\A1111 WebUI (Pin to Taskbar)

What should have happened?

Runs normally, no errors should be reported

What browsers do you use to access the UI ?

Google Chrome, Microsoft Edge

Sysinfo

{
"Platform": "Windows-10-10.0.22631-SP0",
"Python": "3.10.6",
"Version": "1.9.0",
"Commit": "1db3194d931a44b7e9fec9c3146efecf3d478f61",
"Script path": "F:\A1111 Web UI Autoinstaller\stable-diffusion-webui",
"Data path": "F:\A1111 Web UI Autoinstaller\stable-diffusion-webui",
"Extensions dir": "F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\extensions",
"Checksum": "69d46a5a03ac1af746106a49f344ab8af6a108ff58ac0ea3bf3d80f07fa82cfa",
"Commandline": [
"launch.py",
"--autolaunch"
],
"Torch env info": {
"torch_version": "2.1.2+cu121",
"is_debug_build": "False",
"cuda_compiled_version": "12.1",
"gcc_version": null,
"clang_version": null,
"cmake_version": null,
"os": "Microsoft Windows 11 Pro",
"libc_version": "N/A",
"python_version": "3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] (64-bit runtime)",
"python_platform": "Windows-10-10.0.22631-SP0",
"is_cuda_available": "True",
"cuda_runtime_version": null,
"cuda_module_loading": "LAZY",
"nvidia_driver_version": "527.56",
"nvidia_gpu_models": "GPU 0: NVIDIA GeForce GTX 1070 Ti",
"cudnn_version": null,
"pip_version": "pip3",
"pip_packages": [
"numpy==1.26.2",
"open-clip-torch==2.20.0",
"pytorch-lightning==1.9.4",
"torch==2.1.2+cu121",
"torchdiffeq==0.2.3",
"torchmetrics==1.3.2",
"torchsde==0.2.6",
"torchvision==0.16.2+cu121"
],
"conda_packages": null,
"hip_compiled_version": "N/A",
"hip_runtime_version": "N/A",
"miopen_runtime_version": "N/A",
"caching_allocator_config": "",
"is_xnnpack_available": "True",
"cpu_info": [
"Architecture=9",
"CurrentClockSpeed=3696",
"DeviceID=CPU0",
"Family=198",
"L2CacheSize=1536",
"L2CacheSpeed=",
"Manufacturer=GenuineIntel",
"MaxClockSpeed=3696",
"Name=Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz",
"ProcessorType=3",
"Revision="
]
},
"Exceptions": [
{
"exception": "Error while deserializing header: MetadataIncompleteBuffer",
"traceback": [
[
"F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\modules\sd_models.py, line 620, get_sd_model",
"load_model()"
],
[
"F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\modules\sd_models.py, line 705, load_model",
"state_dict = get_checkpoint_state_dict(checkpoint_info, timer)"
],
[
"F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\modules\sd_models.py, line 330, get_checkpoint_state_dict",
"res = read_state_dict(checkpoint_info.filename)"
],
[
"F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\modules\sd_models.py, line 304, read_state_dict",
"pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)"
],
[
"F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py, line 308, load_file",
"with safe_open(filename, framework="pt", device=device) as f:"
]
]
}
],
"CPU": {
"model": "Intel64 Family 6 Model 158 Stepping 10, GenuineIntel",
"count logical": 12,
"count physical": 6
},
"RAM": {
"total": "16GB",
"used": "10GB",
"free": "6GB"
},
"Extensions": [
{
"name": "stable-diffusion-webui-chinese",
"path": "F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\extensions\stable-diffusion-webui-chinese",
"version": "1db3194d",
"branch": "main",
"remote": "https://github.com/VinsonLaro/stable-diffusion-webui-chinese"
}
],
"Inactive extensions": [],
"Environment": {
"COMMANDLINE_ARGS": "--autolaunch ",
"GRADIO_ANALYTICS_ENABLED": "False"
},
"Config": {
"ldsr_steps": 100,
"ldsr_cached": false,
"SCUNET_tile": 256,
"SCUNET_tile_overlap": 8,
"SWIN_tile": 192,
"SWIN_tile_overlap": 8,
"SWIN_torch_compile": false,
"hypertile_enable_unet": false,
"hypertile_enable_unet_secondpass": false,
"hypertile_max_depth_unet": 3,
"hypertile_max_tile_unet": 256,
"hypertile_swap_size_unet": 3,
"hypertile_enable_vae": false,
"hypertile_max_depth_vae": 3,
"hypertile_max_tile_vae": 128,
"hypertile_swap_size_vae": 3
},
"Startup": {
"total": 93.55822134017944,
"records": {
"initial startup": 0.11279892921447754,
"prepare environment/checks": 0.006014347076416016,
"prepare environment/git version info": 0.10079193115234375,
"prepare environment/torch GPU test": 32.031914949417114,
"prepare environment/clone repositores": 0.3771026134490967,
"prepare environment/run extensions installers/stable-diffusion-webui-chinese": 0.010120153427124023,
"prepare environment/run extensions installers": 0.010120153427124023,
"prepare environment": 33.48757886886597,
"launcher": 0.005541801452636719,
"import torch": 14.084766149520874,
"import gradio": 6.746135711669922,
"setup paths": 11.562186241149902,
"import ldm": 0.0750420093536377,
"import sgm": 0.0,
"initialize shared": 18.720980644226074,
"other imports": 6.148582935333252,
"opts onchange": 0.0,
"setup SD model": 0.0,
"setup codeformer": 0.0020122528076171875,
"setup gfpgan": 0.07629227638244629,
"set samplers": 0.0,
"list extensions": 0.0017008781433105469,
"restore config state file": 0.0,
"list SD models": 0.43224287033081055,
"list localizations": 0.0069637298583984375,
"load scripts/custom_code.py": 0.11102700233459473,
"load scripts/img2imgalt.py": 0.019251108169555664,
"load scripts/loopback.py": 0.0005095005035400391,
"load scripts/outpainting_mk_2.py": 0.002013683319091797,
"load scripts/poor_mans_outpainting.py": 0.0012993812561035156,
"load scripts/postprocessing_codeformer.py": 0.0010769367218017578,
"load scripts/postprocessing_gfpgan.py": 0.0016543865203857422,
"load scripts/postprocessing_upscale.py": 0.001996278762817383,
"load scripts/prompt_matrix.py": 0.0,
"load scripts/prompts_from_file.py": 0.002137899398803711,
"load scripts/sd_upscale.py": 0.0020143985748291016,
"load scripts/xyz_grid.py": 0.0049970149993896484,
"load scripts/ldsr_model.py": 0.7672269344329834,
"load scripts/lora_script.py": 0.22590899467468262,
"load scripts/scunet_model.py": 0.026697397232055664,
"load scripts/swinir_model.py": 0.025305747985839844,
"load scripts/hotkey_config.py": 0.00099945068359375,
"load scripts/extra_options_section.py": 0.0,
"load scripts/hypertile_script.py": 0.06892108917236328,
"load scripts/hypertile_xyz.py": 0.0,
"load scripts/postprocessing_autosized_crop.py": 0.008976221084594727,
"load scripts/postprocessing_caption.py": 0.0,
"load scripts/postprocessing_create_flipped_copies.py": 0.0010271072387695312,
"load scripts/postprocessing_focal_crop.py": 0.0030417442321777344,
"load scripts/postprocessing_split_oversized.py": 0.0,
"load scripts/soft_inpainting.py": 0.0019631385803222656,
"load scripts/comments.py": 0.03589367866516113,
"load scripts/refiner.py": 0.0009963512420654297,
"load scripts/sampler.py": 0.0009748935699462891,
"load scripts/seed.py": 0.0009982585906982422,
"load scripts": 1.316908597946167,
"load upscalers": 0.0030159950256347656,
"refresh VAE": 0.002174854278564453,
"refresh textual inversion templates": 0.0006718635559082031,
"scripts list_optimizers": 0.0011563301086425781,
"scripts list_unets": 0.0,
"reload hypernetworks": 0.0010371208190917969,
"initialize extra networks": 0.04895925521850586,
"scripts before_ui_callback": 0.0,
"create ui": 0.8532893657684326,
"gradio launch": 0.769005298614502,
"add APIs": 0.06081223487854004,
"app_started_callback/lora_script.py": 0.0,
"app_started_callback": 0.0
}
},
"Packages": [
"accelerate==0.21.0",
"aenum==3.1.15",
"aiofiles==23.2.1",
"aiohttp==3.9.5",
"aiosignal==1.3.1",
"altair==5.3.0",
"antlr4-python3-runtime==4.9.3",
"anyio==3.7.1",
"async-timeout==4.0.3",
"attrs==23.2.0",
"blendmodes==2022",
"certifi==2024.2.2",
"charset-normalizer==3.3.2",
"clean-fid==0.1.35",
"click==8.1.7",
"clip==1.0",
"colorama==0.4.6",
"contourpy==1.2.1",
"cycler==0.12.1",
"deprecation==2.1.0",
"diskcache==5.6.3",
"einops==0.4.1",
"exceptiongroup==1.2.1",
"facexlib==0.3.0",
"fastapi==0.94.0",
"ffmpy==0.3.2",
"filelock==3.13.4",
"filterpy==1.4.5",
"fonttools==4.51.0",
"frozenlist==1.4.1",
"fsspec==2024.3.1",
"ftfy==6.2.0",
"gitdb==4.0.11",
"gitpython==3.1.32",
"gradio-client==0.5.0",
"gradio==3.41.2",
"h11==0.12.0",
"httpcore==0.15.0",
"httpx==0.24.1",
"huggingface-hub==0.22.2",
"idna==3.7",
"imageio==2.34.0",
"importlib-resources==6.4.0",
"inflection==0.5.1",
"jinja2==3.1.3",
"jsonmerge==1.8.0",
"jsonschema-specifications==2023.12.1",
"jsonschema==4.21.1",
"kiwisolver==1.4.5",
"kornia==0.6.7",
"lark==1.1.2",
"lazy-loader==0.4",
"lightning-utilities==0.11.2",
"llvmlite==0.42.0",
"markupsafe==2.1.5",
"matplotlib==3.8.4",
"mpmath==1.3.0",
"multidict==6.0.5",
"networkx==3.3",
"numba==0.59.1",
"numpy==1.26.2",
"omegaconf==2.2.3",
"open-clip-torch==2.20.0",
"opencv-python==4.9.0.80",
"orjson==3.10.1",
"packaging==24.0",
"pandas==2.2.2",
"piexif==1.1.3",
"pillow==9.5.0",
"pip==22.2.1",
"protobuf==3.20.0",
"psutil==5.9.5",
"pydantic==1.10.15",
"pydub==0.25.1",
"pyparsing==3.1.2",
"python-dateutil==2.9.0.post0",
"python-multipart==0.0.9",
"pytorch-lightning==1.9.4",
"pytz==2024.1",
"pywavelets==1.6.0",
"pyyaml==6.0.1",
"referencing==0.34.0",
"regex==2024.4.16",
"requests==2.31.0",
"resize-right==0.0.2",
"rpds-py==0.18.0",
"safetensors==0.4.2",
"scikit-image==0.21.0",
"scipy==1.13.0",
"semantic-version==2.10.0",
"sentencepiece==0.2.0",
"setuptools==63.2.0",
"six==1.16.0",
"smmap==5.0.1",
"sniffio==1.3.1",
"spandrel==0.1.6",
"starlette==0.26.1",
"sympy==1.12",
"tifffile==2024.4.18",
"timm==0.9.16",
"tokenizers==0.13.3",
"tomesd==0.1.3",
"toolz==0.12.1",
"torch==2.1.2+cu121",
"torchdiffeq==0.2.3",
"torchmetrics==1.3.2",
"torchsde==0.2.6",
"torchvision==0.16.2+cu121",
"tqdm==4.66.2",
"trampoline==0.1.2",
"transformers==4.30.2",
"typing-extensions==4.11.0",
"tzdata==2024.1",
"urllib3==2.2.1",
"uvicorn==0.29.0",
"wcwidth==0.2.13",
"websockets==11.0.3",
"yarl==1.9.4"
]
}

Console logs

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Loading A111 WebUI Launcher
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 i   Settings file found, loading
 →   Updating Settings File  ✓
 i   Launcher Version 1.7.0
 i   No Launcher launch options
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 →   Checking requirements :
 i   Python 3.10.6150.1013 found in registry:  C:\Users\ma_ru\AppData\Local\Programs\Python\Python310\
 i   Clearing PATH of any mention of Python
 →   Adding python 3.10 to path  ✓
 i   Git found and already in PATH:  C:\Program Files\Git\cmd\git.exe
 i   Automatic1111 SD WebUI found:  F:\A1111 Web UI Autoinstaller\stable-diffusion-webui
 i   One or more checkpoint models were found
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  Loading Complete, opening launcher
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 i   No arguments set
 i   Clear All Generations updated to False
 →   Updating Settings File  ✓
 i   No arguments set
 i   Auto-Update Extensions updated to False
 →   Updating Settings File  ✓
 i   No arguments set
 i   Auto-Update WebUI updated to False
 →   Updating Settings File  ✓
 i   No arguments set
 i   No arguments set
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  WEBUI LAUNCHING VIA EMS LAUNCHER, EXIT THIS WINDOW TO STOP THE WEBUI
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 !   Any error happening after 'commit hash : XXXX' is not related to the launcher. Please report them on Automatic1111's github instead :
 ☁   https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/new/choose
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Cancel
venv "F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\Scripts\Python.exe"
fatal: No names found, cannot describe anything.
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: 1.9.0
Commit hash: 1db3194d931a44b7e9fec9c3146efecf3d478f61
Launching Web UI with arguments: --autolaunch
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
Loading weights [7f008929e1] from F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors
loading stable diffusion model: SafetensorError
Traceback (most recent call last):
  File "C:\Users\ma_ru\AppData\Local\Programs\Python\Python310\lib\threading.py", line 973, in _bootstrap
    self._bootstrap_inner()
  File "C:\Users\ma_ru\AppData\Local\Programs\Python\Python310\lib\threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "C:\Users\ma_ru\AppData\Local\Programs\Python\Python310\lib\threading.py", line 953, in run
    self._target(*self._args, **self._kwargs)
  File "F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\modules\initialize.py", line 149, in load_model
    shared.sd_model  # noqa: B018
  File "F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\modules\shared_items.py", line 175, in sd_model
    return modules.sd_models.model_data.get_sd_model()
  File "F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\modules\sd_models.py", line 620, in get_sd_model
    load_model()
  File "F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\modules\sd_models.py", line 705, in load_model
    state_dict = get_checkpoint_state_dict(checkpoint_info, timer)
  File "F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\modules\sd_models.py", line 330, in get_checkpoint_state_dict
    res = read_state_dict(checkpoint_info.filename)
  File "F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\modules\sd_models.py", line 304, in read_state_dict
    pl_sd = safetensors.torch.load_file(checkpoint_file, device=device)
  File "F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\venv\lib\site-packages\safetensors\torch.py", line 308, in load_file
    with safe_open(filename, framework="pt", device=device) as f:
safetensors_rust.SafetensorError: Error while deserializing header: MetadataIncompleteBuffer


Stable diffusion model failed to load
Applying attention optimization: Doggettx... done.
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 93.6s (initial startup: 0.1s, prepare environment: 33.5s, import torch: 14.1s, import gradio: 6.7s, setup paths: 11.6s, initialize shared: 18.7s, other imports: 6.1s, list SD models: 0.4s, load scripts: 1.3s, create ui: 0.9s, gradio launch: 0.8s).

Additional information

No response

@hao0606 hao0606 added the bug-report Report of a bug, yet to be confirmed label Apr 19, 2024
@missionfloyd
Copy link
Collaborator

Loading weights [7f008929e1] from F:\A1111 Web UI Autoinstaller\stable-diffusion-webui\models\Stable-diffusion\v1-5-pruned-emaonly.safetensors

v1-5-pruned-emaonly.safetensors appears to be bad (the hash should be 6ce0161689). Delete it and it'll be re-downloaded, or manually download it here.

@w-e-w w-e-w added asking-for-help-with-local-system-issues This issue is asking for help related to local system; please offer assistance and removed bug-report Report of a bug, yet to be confirmed labels Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
asking-for-help-with-local-system-issues This issue is asking for help related to local system; please offer assistance
Projects
None yet
Development

No branches or pull requests

3 participants