[PR #530] [MERGED] implement ProgressWriter #15473

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/530
Author: @mxyng
Created: 9/14/2023
Status: Merged
Merged: 9/15/2023
Merged by: @mxyng

Base: mainHead: mxyng/progresswriter


📝 Commits (2)

📊 Changes

1 file changed (+90 additions, -80 deletions)

View changed files

📝 server/upload.go (+90 -80)

📄 Description

Simplify writing progress by implementing a ProgressWriter. Using io.TeeReader, the ProgressWriter will be responsible for updating user on the progress of the upload (and eventually down) without manually defining copy chunks.


🔄 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/530 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 9/14/2023 **Status:** ✅ Merged **Merged:** 9/15/2023 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/progresswriter` --- ### 📝 Commits (2) - [`f0b398d`](https://github.com/ollama/ollama/commit/f0b398d17f4c907ad268e0baf9c8cba0188000cb) implement ProgressWriter - [`e53bc57`](https://github.com/ollama/ollama/commit/e53bc57d4de0ff0b3326bd52db6737b528ebf052) split uploadBlobChunked ### 📊 Changes **1 file changed** (+90 additions, -80 deletions) <details> <summary>View changed files</summary> 📝 `server/upload.go` (+90 -80) </details> ### 📄 Description Simplify writing progress by implementing a ProgressWriter. Using `io.TeeReader`, the ProgressWriter will be responsible for updating user on the progress of the upload (and eventually down) without manually defining copy chunks. --- <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 05:00:20 -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#15473