[PR #195] [MERGED] truncate file size on resume #15305

Closed
opened 2026-04-16 04:55:15 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/195
Author: @BruceMacD
Created: 7/24/2023
Status: Merged
Merged: 7/24/2023
Merged by: @BruceMacD

Base: mainHead: brucemacd/resume-download-safety


📝 Commits (1)

  • fdbef6c truncate file size on resume

📊 Changes

1 file changed (+9 additions, -1 deletions)

View changed files

📝 server/images.go (+9 -1)

📄 Description

when resuming a download of a model truncate the file size to match the expected trunk size, hopefully this mitigates #170


🔄 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/195 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 7/24/2023 **Status:** ✅ Merged **Merged:** 7/24/2023 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `brucemacd/resume-download-safety` --- ### 📝 Commits (1) - [`fdbef6c`](https://github.com/ollama/ollama/commit/fdbef6c95ea89a2cef6a0bb12d1e44c630a8370d) truncate file size on resume ### 📊 Changes **1 file changed** (+9 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `server/images.go` (+9 -1) </details> ### 📄 Description when resuming a download of a model truncate the file size to match the expected trunk size, hopefully this mitigates #170 --- <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-16 04:55:15 -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#15305