[PR #6291] [MERGED] Don't hard fail on sparse setup error #58770

Closed
opened 2026-04-29 13:40:19 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/6291
Author: @dhiltgen
Created: 8/9/2024
Status: Merged
Merged: 8/9/2024
Merged by: @dhiltgen

Base: mainHead: no_sparse_fail


📝 Commits (1)

  • 2fa1db4 Don't hard fail on sparse setup error

📊 Changes

3 files changed (+5 additions, -7 deletions)

View changed files

📝 server/download.go (+1 -3)
📝 server/sparse_common.go (+1 -2)
📝 server/sparse_windows.go (+3 -2)

📄 Description

It seems this can fail in some casees, but proceed with the download anyway.

I haven't reproduced the users failure, but based on the log message and the recent regression, this seems highly likely to be the cause.

Fixes #6263


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/6291 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 8/9/2024 **Status:** ✅ Merged **Merged:** 8/9/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `no_sparse_fail` --- ### 📝 Commits (1) - [`2fa1db4`](https://github.com/ollama/ollama/commit/2fa1db434581bcfcb6fec1482904656e4b5f8313) Don't hard fail on sparse setup error ### 📊 Changes **3 files changed** (+5 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `server/download.go` (+1 -3) 📝 `server/sparse_common.go` (+1 -2) 📝 `server/sparse_windows.go` (+3 -2) </details> ### 📄 Description It seems this can fail in some casees, but proceed with the download anyway. I haven't reproduced the users failure, but based on the log message and the recent regression, this seems highly likely to be the cause. Fixes #6263 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-29 13:40:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#58770