Model has been downloaded but the SHA256 checksum does not not match. Please retry loading the model. #1027
-
I tried to run Whisper on command line with Python3.10.9,PyTorch for CUDA11.7 and CUDA11.7,but every time I run it shows "Model has been downloaded but the SHA256 checksum does not not match. Please retry loading the model" and redownload the pt file.It bothered me for a long time,is there an enthusiastic person who can help me?Appreciate. Total error message: |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 8 replies
-
I dont kown what happened,but the error has been fixed automatically after restarting. |
Beta Was this translation helpful? Give feedback.
-
same issue |
Beta Was this translation helpful? Give feedback.
-
C:\Users\Administrator.DESKTOP-DHKFNAB\Desktop>whisper test.mp3 --model large-v2 --language Chinese --output_format srt how to solve this problem |
Beta Was this translation helpful? Give feedback.
-
restart what? |
Beta Was this translation helpful? Give feedback.
-
I solve it under WINDOWS 11 miniconda environment deleting the whole huggingface directory under default user/.cache. |
Beta Was this translation helpful? Give feedback.
-
remove those files and run the script again |
Beta Was this translation helpful? Give feedback.
-
I have this same issue. I am running on Ubuntu 22.04. Fresh Whisper install. Have not yet had a successful transcribe. Download of the appropriate .pt file gets to 100% then sits there. I left one for 48 hours. Upon restarting Whisper, it says that the SHA checksum does not match and will download again. Same results. Tried manually deleting the .pt files from the .cache. No change in result. |
Beta Was this translation helpful? Give feedback.
-
it seems related to network as well. i tried 3 times, and it can work |
Beta Was this translation helpful? Give feedback.
-
我遇到了同样的问题,我用的google colab尝试了下面的两个命令就可以顺利运行了 |
Beta Was this translation helpful? Give feedback.
-
FYI, this happened to me, and I know what caused it. While transcribing, I got this error message: Lightning automatically upgraded your loaded checkpoint from v1.5.4 to v2.4.0. To apply the upgrade to your files permanently, run I issued the command, but I was using a CPU, not GPU, so I added the --map-to-cpu option: python -m pytorch_lightning.utilities.upgrade_checkpoint --map-to-cpu %USERPROFILE%.cache\torch\whisperx-vad-segmentation.bin But then I got this error. I fixed it by deleting %USERPROFILE%.cache\torch\whisperx-vad-segmentation.bin, and just accepting the original error message. |
Beta Was this translation helpful? Give feedback.
-
It seems that my problem was resolved by removing the ~/.cache/torch/whisperx-vad-segmentation.bin file |
Beta Was this translation helpful? Give feedback.
I dont kown what happened,but the error has been fixed automatically after restarting.