oobabooga / text-generation-webui

A Gradio web UI for Large Language Models.
GNU Affero General Public License v3.0
40.33k stars 5.29k forks source link

Updated today: got "Packages do not match the hashes" #6449

Open ewebgh33 opened 2 weeks ago

ewebgh33 commented 2 weeks ago

Describe the bug

Did an update via the windows update .bat.

Got 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. torch==2.4.1 from https://download.pytorch.org/whl/cu121/torch-2.4.1%2Bcu121-cp311-cp311-win_amd64.whl#sha256=bc1e21d7412a2f06f552a9afb92c56c8b23d174884e9383259c3cf5db4687c98: Expected sha256 bc1e21d7412a2f06f552a9afb92c56c8b23d174884e9383259c3cf5db4687c98 Got 388ad88c91b1ea870227395b85a40676253ce55a606d88708bded660be96cfa0

So my question is, if I am running a basic update, why would the packages NOT match?

I did try installing AllTalk earlier, could this be the reason?

Is there an existing issue for this?

Reproduction

Update via update_wizard_windows.bat

Screenshot

No response

Logs

Was basically as above

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.
    torch==2.4.1 from https://download.pytorch.org/whl/cu121/torch-2.4.1%2Bcu121-cp311-cp311-win_amd64.whl#sha256=bc1e21d7412a2f06f552a9afb92c56c8b23d174884e9383259c3cf5db4687c98:
        Expected sha256 bc1e21d7412a2f06f552a9afb92c56c8b23d174884e9383259c3cf5db4687c98
             Got        388ad88c91b1ea870227395b85a40676253ce55a606d88708bded660be96cfa0

System Info

Win 11, Intel, Gigabyte 4090
ewebgh33 commented 2 weeks ago

I get this trying to update (tried it a few times in case something changed or it missed something, often a 2nd or 3rd go will resolve as it works it way through dependencies.

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. autoawq 0.2.6 requires torch==2.2.2, but you have torch 2.4.1+cu121 which is incompatible. coqui-tts 0.24.2 requires transformers<4.43.0,>=4.42.0, but you have transformers 4.45.2 which is incompatible. openai-whisper 20230918 requires tiktoken==0.3.3, but you have tiktoken 0.8.0 which is incompatible. parler-tts 0.2 requires transformers<=4.43.3,>=4.43.0, but you have transformers 4.45.2 which is incompatible. torch-grammar 0.3.3 requires sentencepiece<0.2.0,>=0.1.99, but you have sentencepiece 0.2.0 which is incompatible. tts 0.22.0 requires gruut[de,es,fr]==2.2.3, but you have gruut 2.4.0 which is incompatible. tts 0.22.0 requires pandas<2.0,>=1.4, but you have pandas 2.2.3 which is incompatible.

Not sure if the AllTalk install attempt did this? How then are people running AllTalk if it creates incompatibilities (assuming that's even the root cause)

PRCbubu commented 5 days ago

I get this trying to update (tried it a few times in case something changed or it missed something, often a 2nd or 3rd go will resolve as it works it way through dependencies.

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. autoawq 0.2.6 requires torch==2.2.2, but you have torch 2.4.1+cu121 which is incompatible. coqui-tts 0.24.2 requires transformers<4.43.0,>=4.42.0, but you have transformers 4.45.2 which is incompatible. openai-whisper 20230918 requires tiktoken==0.3.3, but you have tiktoken 0.8.0 which is incompatible. parler-tts 0.2 requires transformers<=4.43.3,>=4.43.0, but you have transformers 4.45.2 which is incompatible. torch-grammar 0.3.3 requires sentencepiece<0.2.0,>=0.1.99, but you have sentencepiece 0.2.0 which is incompatible. tts 0.22.0 requires gruut[de,es,fr]==2.2.3, but you have gruut 2.4.0 which is incompatible. tts 0.22.0 requires pandas<2.0,>=1.4, but you have pandas 2.2.3 which is incompatible.

Not sure if the AllTalk install attempt did this? How then are people running AllTalk if it creates incompatibilities (assuming that's even the root cause)

I'm also having the same issue