ollama - 💡(How to fix) Fix deepseek-v4 file error [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
ollama/ollama#15796Fetched 2026-04-25 06:03:33
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Author
Participants
Timeline (top)
labeled ×1

Error Message

Error: digest mismatch, file must be downloaded again: want sha256:1281b5e5cffc83208591388af031e4ae88cc93c34a7a6d1fbe6e63a922974e7a, got sha256:5417645b6b6b07be4bc1b6681dd21d902a5bc8bb720af64ed12288b7b4016461

Code Example

time=2026-04-24T09:58:47.932-04:00 level=INFO source=routes.go:1752 msg="server config" env="map[HTTPS_PROXY: HTTP_PROXY: NO_PROXY: OLLAMA_CONTEXT_LENGTH:131072 OLLAMA_DEBUG:INFO OLLAMA_DEBUG_LOG_REQUESTS:false OLLAMA_EDITOR: OLLAMA_FLASH_ATTENTION:false OLLAMA_GPU_OVERHEAD:0 OLLAMA_HOST:http://127.0.0.1:11434 OLLAMA_KEEP_ALIVE:5m0s OLLAMA_KV_CACHE_TYPE: OLLAMA_LLM_LIBRARY: OLLAMA_LOAD_TIMEOUT:5m0s OLLAMA_MAX_LOADED_MODELS:0 OLLAMA_MAX_QUEUE:512 OLLAMA_MODELS:/Users/cslwkstadmin/.ollama/models OLLAMA_MULTIUSER_CACHE:false OLLAMA_NEW_ENGINE:false OLLAMA_NOHISTORY:false OLLAMA_NOPRUNE:false OLLAMA_NO_CLOUD:false OLLAMA_NUM_PARALLEL:1 OLLAMA_ORIGINS:[http://localhost https://localhost http://localhost:* https://localhost:* http://127.0.0.1 https://127.0.0.1 http://127.0.0.1:* https://127.0.0.1:* http://0.0.0.0 https://0.0.0.0 http://0.0.0.0:* https://0.0.0.0:* app://* file://* tauri://* vscode-webview://* vscode-file://*] OLLAMA_REMOTES:[ollama.com] OLLAMA_SCHED_SPREAD:false http_proxy: https_proxy: no_proxy:]"
time=2026-04-24T09:58:47.932-04:00 level=INFO source=routes.go:1754 msg="Ollama cloud disabled: false"
time=2026-04-24T09:58:47.943-04:00 level=INFO source=images.go:499 msg="total blobs: 39"
time=2026-04-24T09:58:47.944-04:00 level=INFO source=images.go:506 msg="total unused blobs removed: 0"
time=2026-04-24T09:58:47.945-04:00 level=INFO source=routes.go:1810 msg="Listening on 127.0.0.1:11434 (version 0.20.5)"
time=2026-04-24T09:58:47.946-04:00 level=INFO source=runner.go:67 msg="discovering available GPUs..."
time=2026-04-24T09:58:47.947-04:00 level=INFO source=server.go:444 msg="starting runner" cmd="/Applications/Ollama.app/Contents/Resources/ollama runner --ollama-engine --port 49251"
time=2026-04-24T09:58:48.117-04:00 level=INFO source=types.go:42 msg="inference compute" id=0 filter_id=0 library=Metal compute=0.0 name=Metal description="Apple M4 Max" libdirs="" driver=0.0 pci_id="" type=discrete total="107.5 GiB" available="107.5 GiB"
time=2026-04-24T09:58:48.117-04:00 level=INFO source=routes.go:1860 msg="vram-based default context" total_vram="107.5 GiB" default_num_ctx=262144
[GIN] 2026/04/24 - 09:58:48 | 200 |     113.041µs |       127.0.0.1 | GET      "/api/version"
[GIN] 2026/04/24 - 10:13:37 | 200 |      24.709µs |       127.0.0.1 | GET      "/api/version"
[GIN] 2026/04/24 - 10:13:37 | 200 |      17.917µs |       127.0.0.1 | GET      "/api/version"
[GIN] 2026/04/24 - 10:13:37 | 200 |    4.547958ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:13:37 | 200 |   112.25175ms |       127.0.0.1 | POST     "/api/show"
[GIN] 2026/04/24 - 10:13:37 | 200 |  210.052416ms |       127.0.0.1 | POST     "/api/me"
[GIN] 2026/04/24 - 10:13:37 | 200 |   112.56875ms |       127.0.0.1 | POST     "/api/me"
[GIN] 2026/04/24 - 10:13:37 | 200 |       9.792µs |       127.0.0.1 | GET      "/api/version"
[GIN] 2026/04/24 - 10:13:37 | 200 |    1.784708ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:13:39 | 200 |       1.566ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:14:09 | 200 |    3.372959ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:14:27 | 200 |      33.083µs |       127.0.0.1 | HEAD     "/"
[GIN] 2026/04/24 - 10:14:28 | 200 |   757.50025ms |       127.0.0.1 | POST     "/api/pull"
[GIN] 2026/04/24 - 10:14:33 | 200 |      13.417µs |       127.0.0.1 | HEAD     "/"
time=2026-04-24T10:14:34.335-04:00 level=INFO source=download.go:179 msg="downloading 1281b5e5cffc in 1 348 B part(s)"
[GIN] 2026/04/24 - 10:14:35 | 200 |  1.750912625s |       127.0.0.1 | POST     "/api/pull"
[GIN] 2026/04/24 - 10:14:39 | 200 |    5.244792ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:14:44 | 200 |      63.083µs |       127.0.0.1 | HEAD     "/"
[GIN] 2026/04/24 - 10:14:44 | 200 |    4.703791ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:15:09 | 200 |    5.935333ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:15:32 | 200 |       63.25µs |       127.0.0.1 | HEAD     "/"
time=2026-04-24T10:15:32.639-04:00 level=INFO source=download.go:179 msg="downloading 1281b5e5cffc in 1 348 B part(s)"
[GIN] 2026/04/24 - 10:15:33 | 200 |   1.73863075s |       127.0.0.1 | POST     "/api/pull"
[GIN] 2026/04/24 - 10:15:39 | 200 |    4.047042ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:15:57 | 200 |      45.709µs |       127.0.0.1 | HEAD     "/"
time=2026-04-24T10:15:57.927-04:00 level=INFO source=download.go:179 msg="downloading 1281b5e5cffc in 1 348 B part(s)"
[GIN] 2026/04/24 - 10:15:59 | 200 |  1.698534209s |       127.0.0.1 | POST     "/api/pull"
[GIN] 2026/04/24 - 10:16:09 | 200 |    3.405041ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:16:21 | 200 |      38.667µs |       127.0.0.1 | HEAD     "/"
time=2026-04-24T10:16:21.964-04:00 level=INFO source=download.go:179 msg="downloading 1281b5e5cffc in 1 348 B part(s)"
[GIN] 2026/04/24 - 10:16:23 | 200 |  1.702637375s |       127.0.0.1 | POST     "/api/pull"
[GIN] 2026/04/24 - 10:16:39 | 200 |    5.038125ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:17:09 | 200 |     5.31075ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:17:39 | 200 |    4.378958ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:18:09 | 200 |    4.610584ms |       127.0.0.1 | GET      "/api/tags"
RAW_BUFFERClick to expand / collapse

What is the issue?

ollama pull deepseek-v4-flash:cloud pulling manifest pulling 1281b5e5cffc: 100% ▕██████████████████████████████████████████████████████████▏ 348 B
verifying sha256 digest Error: digest mismatch, file must be downloaded again: want sha256:1281b5e5cffc83208591388af031e4ae88cc93c34a7a6d1fbe6e63a922974e7a, got sha256:5417645b6b6b07be4bc1b6681dd21d902a5bc8bb720af64ed12288b7b4016461

Relevant log output

time=2026-04-24T09:58:47.932-04:00 level=INFO source=routes.go:1752 msg="server config" env="map[HTTPS_PROXY: HTTP_PROXY: NO_PROXY: OLLAMA_CONTEXT_LENGTH:131072 OLLAMA_DEBUG:INFO OLLAMA_DEBUG_LOG_REQUESTS:false OLLAMA_EDITOR: OLLAMA_FLASH_ATTENTION:false OLLAMA_GPU_OVERHEAD:0 OLLAMA_HOST:http://127.0.0.1:11434 OLLAMA_KEEP_ALIVE:5m0s OLLAMA_KV_CACHE_TYPE: OLLAMA_LLM_LIBRARY: OLLAMA_LOAD_TIMEOUT:5m0s OLLAMA_MAX_LOADED_MODELS:0 OLLAMA_MAX_QUEUE:512 OLLAMA_MODELS:/Users/cslwkstadmin/.ollama/models OLLAMA_MULTIUSER_CACHE:false OLLAMA_NEW_ENGINE:false OLLAMA_NOHISTORY:false OLLAMA_NOPRUNE:false OLLAMA_NO_CLOUD:false OLLAMA_NUM_PARALLEL:1 OLLAMA_ORIGINS:[http://localhost https://localhost http://localhost:* https://localhost:* http://127.0.0.1 https://127.0.0.1 http://127.0.0.1:* https://127.0.0.1:* http://0.0.0.0 https://0.0.0.0 http://0.0.0.0:* https://0.0.0.0:* app://* file://* tauri://* vscode-webview://* vscode-file://*] OLLAMA_REMOTES:[ollama.com] OLLAMA_SCHED_SPREAD:false http_proxy: https_proxy: no_proxy:]"
time=2026-04-24T09:58:47.932-04:00 level=INFO source=routes.go:1754 msg="Ollama cloud disabled: false"
time=2026-04-24T09:58:47.943-04:00 level=INFO source=images.go:499 msg="total blobs: 39"
time=2026-04-24T09:58:47.944-04:00 level=INFO source=images.go:506 msg="total unused blobs removed: 0"
time=2026-04-24T09:58:47.945-04:00 level=INFO source=routes.go:1810 msg="Listening on 127.0.0.1:11434 (version 0.20.5)"
time=2026-04-24T09:58:47.946-04:00 level=INFO source=runner.go:67 msg="discovering available GPUs..."
time=2026-04-24T09:58:47.947-04:00 level=INFO source=server.go:444 msg="starting runner" cmd="/Applications/Ollama.app/Contents/Resources/ollama runner --ollama-engine --port 49251"
time=2026-04-24T09:58:48.117-04:00 level=INFO source=types.go:42 msg="inference compute" id=0 filter_id=0 library=Metal compute=0.0 name=Metal description="Apple M4 Max" libdirs="" driver=0.0 pci_id="" type=discrete total="107.5 GiB" available="107.5 GiB"
time=2026-04-24T09:58:48.117-04:00 level=INFO source=routes.go:1860 msg="vram-based default context" total_vram="107.5 GiB" default_num_ctx=262144
[GIN] 2026/04/24 - 09:58:48 | 200 |     113.041µs |       127.0.0.1 | GET      "/api/version"
[GIN] 2026/04/24 - 10:13:37 | 200 |      24.709µs |       127.0.0.1 | GET      "/api/version"
[GIN] 2026/04/24 - 10:13:37 | 200 |      17.917µs |       127.0.0.1 | GET      "/api/version"
[GIN] 2026/04/24 - 10:13:37 | 200 |    4.547958ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:13:37 | 200 |   112.25175ms |       127.0.0.1 | POST     "/api/show"
[GIN] 2026/04/24 - 10:13:37 | 200 |  210.052416ms |       127.0.0.1 | POST     "/api/me"
[GIN] 2026/04/24 - 10:13:37 | 200 |   112.56875ms |       127.0.0.1 | POST     "/api/me"
[GIN] 2026/04/24 - 10:13:37 | 200 |       9.792µs |       127.0.0.1 | GET      "/api/version"
[GIN] 2026/04/24 - 10:13:37 | 200 |    1.784708ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:13:39 | 200 |       1.566ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:14:09 | 200 |    3.372959ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:14:27 | 200 |      33.083µs |       127.0.0.1 | HEAD     "/"
[GIN] 2026/04/24 - 10:14:28 | 200 |   757.50025ms |       127.0.0.1 | POST     "/api/pull"
[GIN] 2026/04/24 - 10:14:33 | 200 |      13.417µs |       127.0.0.1 | HEAD     "/"
time=2026-04-24T10:14:34.335-04:00 level=INFO source=download.go:179 msg="downloading 1281b5e5cffc in 1 348 B part(s)"
[GIN] 2026/04/24 - 10:14:35 | 200 |  1.750912625s |       127.0.0.1 | POST     "/api/pull"
[GIN] 2026/04/24 - 10:14:39 | 200 |    5.244792ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:14:44 | 200 |      63.083µs |       127.0.0.1 | HEAD     "/"
[GIN] 2026/04/24 - 10:14:44 | 200 |    4.703791ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:15:09 | 200 |    5.935333ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:15:32 | 200 |       63.25µs |       127.0.0.1 | HEAD     "/"
time=2026-04-24T10:15:32.639-04:00 level=INFO source=download.go:179 msg="downloading 1281b5e5cffc in 1 348 B part(s)"
[GIN] 2026/04/24 - 10:15:33 | 200 |   1.73863075s |       127.0.0.1 | POST     "/api/pull"
[GIN] 2026/04/24 - 10:15:39 | 200 |    4.047042ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:15:57 | 200 |      45.709µs |       127.0.0.1 | HEAD     "/"
time=2026-04-24T10:15:57.927-04:00 level=INFO source=download.go:179 msg="downloading 1281b5e5cffc in 1 348 B part(s)"
[GIN] 2026/04/24 - 10:15:59 | 200 |  1.698534209s |       127.0.0.1 | POST     "/api/pull"
[GIN] 2026/04/24 - 10:16:09 | 200 |    3.405041ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:16:21 | 200 |      38.667µs |       127.0.0.1 | HEAD     "/"
time=2026-04-24T10:16:21.964-04:00 level=INFO source=download.go:179 msg="downloading 1281b5e5cffc in 1 348 B part(s)"
[GIN] 2026/04/24 - 10:16:23 | 200 |  1.702637375s |       127.0.0.1 | POST     "/api/pull"
[GIN] 2026/04/24 - 10:16:39 | 200 |    5.038125ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:17:09 | 200 |     5.31075ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:17:39 | 200 |    4.378958ms |       127.0.0.1 | GET      "/api/tags"
[GIN] 2026/04/24 - 10:18:09 | 200 |    4.610584ms |       127.0.0.1 | GET      "/api/tags"

OS

No response

GPU

No response

CPU

No response

Ollama version

No response

extent analysis

TL;DR

The issue is likely due to a corrupted download, and re-downloading the file may resolve the problem.

Guidance

  • The error message "digest mismatch" suggests that the downloaded file does not match the expected SHA256 hash, indicating a corrupted download.
  • Try re-running the ollama pull command to re-download the file.
  • If the issue persists, check the network connection and ensure that the download is not being interrupted or corrupted during transfer.
  • Verify the integrity of the downloaded file by checking its SHA256 hash against the expected value.

Example

No code snippet is provided as the issue is related to a download corruption rather than a code error.

Notes

The lack of information about the OS, GPU, CPU, and Ollama version may limit the ability to provide a more specific solution. However, the error message and log output suggest a download corruption issue.

Recommendation

Apply workaround: Re-run the ollama pull command to re-download the file, and verify the integrity of the downloaded file by checking its SHA256 hash against the expected value.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING