[GH-ISSUE #8534] Llama 3.1 sha256 mismatch #52016

Closed
opened 2026-04-28 21:38:08 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @xihuai18 on GitHub (Jan 22, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/8534

What is the issue?

Image

OS

Linux

GPU

Nvidia

CPU

AMD

Ollama version

0.5.7

Originally created by @xihuai18 on GitHub (Jan 22, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/8534 ### What is the issue? <img width="909" alt="Image" src="https://github.com/user-attachments/assets/a8f79e64-2f9b-4a6f-b5cc-a1534c8479b5" /> ### OS Linux ### GPU Nvidia ### CPU AMD ### Ollama version 0.5.7
GiteaMirror added the networkingbug labels 2026-04-28 21:38:08 -05:00
Author
Owner

@xtareq commented on GitHub (Jan 22, 2025):

$ ollama pull llama3.1:8b-instruct-q8_0
pulling manifest
pulling cc04e85e1f86... 100% ██████████████████████████████████████████ 8.5 GB
pulling 948af2743fc7... 100% ██████████████████████████████████████████ 1.5 KB
pulling 0ba8f0e314b4... 100% ██████████████████████████████████████████ 12 KB
pulling 56bb8bd477a5... 100% ██████████████████████████████████████████ 96 B
pulling 4a4a958ae550... 100% ██████████████████████████████████████████ 485 B
verifying sha256 digest
Error: digest mismatch, file must be downloaded again: want sha256:cc04e85e1f866a5ba87dd66b5260f0cb32354e2c66505e86a7ac3c0092272b7d, got sha256:3a0441d489c005617815f60880d00670126bf0e50a85190bdb6673ecbdf695a4

@xihuai18 If sha256:3a0441d489c005617815f60880d00670126bf0e50a85190bdb6673ecbdf695a4 exists in ~/.ollama/models/blobs directory just rename it to sha256:cc04e85e1f866a5ba87dd66b5260f0cb32354e2c66505e86a7ac3c0092272b7d. If both exists then remove this blob sha256:3a0441d489c005617815f60880d00670126bf0e50a85190bdb6673ecbdf695a4 and run ollama pull llama3.1:8b-instruct-q8_0 again. Hope it helps.

<!-- gh-comment-id:2608170508 --> @xtareq commented on GitHub (Jan 22, 2025): ``` $ ollama pull llama3.1:8b-instruct-q8_0 pulling manifest pulling cc04e85e1f86... 100% ██████████████████████████████████████████ 8.5 GB pulling 948af2743fc7... 100% ██████████████████████████████████████████ 1.5 KB pulling 0ba8f0e314b4... 100% ██████████████████████████████████████████ 12 KB pulling 56bb8bd477a5... 100% ██████████████████████████████████████████ 96 B pulling 4a4a958ae550... 100% ██████████████████████████████████████████ 485 B verifying sha256 digest Error: digest mismatch, file must be downloaded again: want sha256:cc04e85e1f866a5ba87dd66b5260f0cb32354e2c66505e86a7ac3c0092272b7d, got sha256:3a0441d489c005617815f60880d00670126bf0e50a85190bdb6673ecbdf695a4 ``` @xihuai18 If ``sha256:3a0441d489c005617815f60880d00670126bf0e50a85190bdb6673ecbdf695a4`` exists in ~/.ollama/models/blobs directory just rename it to ``sha256:cc04e85e1f866a5ba87dd66b5260f0cb32354e2c66505e86a7ac3c0092272b7d``. If both exists then remove this blob ``sha256:3a0441d489c005617815f60880d00670126bf0e50a85190bdb6673ecbdf695a4`` and run ``` ollama pull llama3.1:8b-instruct-q8_0``` again. Hope it helps.
Author
Owner

@anirbanbasu commented on GitHub (Aug 23, 2025):

Try ollama-downloader. It has worked for me even behind a HTTPS proxy with a self-signed certificate, behind which ollama pull did not work for a single model, failing with the SHA256 check despite being able to download all BLOBs. (Disclaimer: I am the maintainer of the ollama-downloader project.)

<!-- gh-comment-id:3216803305 --> @anirbanbasu commented on GitHub (Aug 23, 2025): Try [ollama-downloader](https://github.com/anirbanbasu/ollama-downloader). It has worked for me even behind a HTTPS proxy with a self-signed certificate, behind which `ollama pull` did not work for a single model, failing with the SHA256 check despite being able to download all BLOBs. (Disclaimer: I am the maintainer of the _ollama-downloader_ project.)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#52016