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]: ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE #16680

Open
3 of 6 tasks
whitequill opened this issue Nov 25, 2024 · 0 comments
Open
3 of 6 tasks
Labels
bug-report Report of a bug, yet to be confirmed

Comments

@whitequill
Copy link

whitequill commented Nov 25, 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?

Upon pulling the repo and running webui.sh it goes through the launch.py like normal but then it haults and throws this error: "ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE"
This also happens on Windows. I tried running . ./venv/bin/activate to see if it would help. it didn't. it just said that the expected sha256 doesn't match.

Steps to reproduce the problem

run webui.sh

What should have happened?

stable diffusion should run.

What browsers do you use to access the UI ?

Brave

Sysinfo

I can't get this due to the requirements not being met

Console logs

whitequill@abstractions stable-diffustion-webui% ./webui.sh                      November 25, 2024 12:50AM

################################################################
Install script for stable-diffusion + Web UI
Tested on Debian 11 (Bullseye), Fedora 34+ and openSUSE Leap 15.4 or newer.
################################################################

################################################################
Running on whitequill user
################################################################

################################################################
Repo already cloned, using it as install directory
################################################################

################################################################
Create and activate python venv
################################################################

################################################################
Launching launch.py...
################################################################
glibc version is 2.40
Check TCMalloc: libtcmalloc_minimal.so.4
libtcmalloc_minimal.so.4 is linked with libc.so,execute LD_PRELOAD=/usr/lib64/libtcmalloc_minimal.so.4
Python 3.10.15 (main, Nov 19 2024, 06:31:52) [GCC 13.3.1 20241024]
Version: v1.10.1
Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Installing torch and torchvision
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu121
Collecting torch==2.1.2
  Using cached https://download.pytorch.org/whl/cu121/torch-2.1.2%2Bcu121-cp310-cp310-linux_x86_64.whl (2200.7 MB)
Collecting torchvision==0.16.2
  Using cached https://download.pytorch.org/whl/cu121/torchvision-0.16.2%2Bcu121-cp310-cp310-linux_x86_64.whl (6.8 MB)
Collecting filelock (from torch==2.1.2)
  Using cached filelock-3.16.1-py3-none-any.whl.metadata (2.9 kB)
Collecting typing-extensions (from torch==2.1.2)
  Using cached typing_extensions-4.12.2-py3-none-any.whl.metadata (3.0 kB)
Collecting sympy (from torch==2.1.2)
  Using cached sympy-1.13.3-py3-none-any.whl.metadata (12 kB)
Collecting networkx (from torch==2.1.2)
  Using cached networkx-3.4.2-py3-none-any.whl.metadata (6.3 kB)
Collecting jinja2 (from torch==2.1.2)
  Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB)
Collecting fsspec (from torch==2.1.2)
  Using cached fsspec-2024.10.0-py3-none-any.whl.metadata (11 kB)
Collecting triton==2.1.0 (from torch==2.1.2)
  Using cached https://download.pytorch.org/whl/triton-2.1.0-0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (89.2 MB)
ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
    triton==2.1.0 from https://download.pytorch.org/whl/triton-2.1.0-0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl#sha256=66439923a30d5d48399b08a9eae10370f6c261a5ec864a64983bae63152d39d7 (from torch==2.1.2):
        Expected sha256 66439923a30d5d48399b08a9eae10370f6c261a5ec864a64983bae63152d39d7
             Got        0f7f3a9430ab9f70a90def6d6b383f63b0e0a5206739e8eb71ea5e5fe376128e

Traceback (most recent call last):
  File "/home/whitequill/gitrepos/stable-diffustion-webui/launch.py", line 48, in <module>
    main()
  File "/home/whitequill/gitrepos/stable-diffustion-webui/launch.py", line 39, in main
    prepare_environment()
  File "/home/whitequill/gitrepos/stable-diffustion-webui/modules/launch_utils.py", line 381, in prepare_environment
    run(f'"{python}" -m {torch_command}', "Installing torch and torchvision", "Couldn't install torch", live=True)
  File "/home/whitequill/gitrepos/stable-diffustion-webui/modules/launch_utils.py", line 116, in run
    raise RuntimeError("\n".join(error_bits))
RuntimeError: Couldn't install torch.
Command: "/home/whitequill/gitrepos/stable-diffustion-webui/venv/bin/python" -m pip install torch==2.1.2 torchvision==0.16.2 --extra-index-url https://download.pytorch.org/whl/cu121
Error code: 1

Additional information

No response

@whitequill whitequill added the bug-report Report of a bug, yet to be confirmed label Nov 25, 2024
@whitequill whitequill changed the title [Bug]: [Bug]: ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Report of a bug, yet to be confirmed
Projects
None yet
Development

No branches or pull requests

1 participant