[PR #5887] [CLOSED] cmd/server: utilizing OS copy to transfer blobs if the server is local #43201

Closed
opened 2026-04-24 22:52:44 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/5887
Author: @joshyan1
Created: 7/23/2024
Status: Closed

Base: jyan/authHead: jyan/local2


📝 Commits (10+)

📊 Changes

7 files changed (+350 additions, -4 deletions)

View changed files

📝 api/client.go (+17 -0)
📝 cmd/cmd.go (+59 -3)
server/copy_darwin.go (+23 -0)
server/copy_linux.go (+7 -0)
server/copy_windows.go (+67 -0)
📝 server/routes.go (+113 -1)
📝 server/routes_test.go (+64 -0)

📄 Description

This PR looks to utilize local copies to a local server prior to posting the blob through the server


🔄 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/5887 **Author:** [@joshyan1](https://github.com/joshyan1) **Created:** 7/23/2024 **Status:** ❌ Closed **Base:** `jyan/auth` ← **Head:** `jyan/local2` --- ### 📝 Commits (10+) - [`46b76ae`](https://github.com/ollama/ollama/commit/46b76aeb46b70dfc29848badb318b88206ebe12f) start tests - [`2c45050`](https://github.com/ollama/ollama/commit/2c450502dbf11ef38b9b5e665226f71f7a436d44) on disk copy - [`ae49abf`](https://github.com/ollama/ollama/commit/ae49abf80aebaf92567fb2583f4f85047f61346f) benchmark - [`03df028`](https://github.com/ollama/ollama/commit/03df02883d33c3636a03722b875a8da5d657c1a2) rebase - [`d14d38e`](https://github.com/ollama/ollama/commit/d14d38e9407de9f1014f8ff39adb086353aa95b1) still works - [`5600868`](https://github.com/ollama/ollama/commit/56008688a19657478c6d0afbeb9ed08d1acb79e5) local path - [`896a158`](https://github.com/ollama/ollama/commit/896a15874ed0242786af1026a137335fef9718b6) clean - [`6436c7a`](https://github.com/ollama/ollama/commit/6436c7a3750c649660076d0dbff19c94841f78cc) rm config - [`a238191`](https://github.com/ollama/ollama/commit/a2381917985c5175d1dcf77f120bbd8c49f8f541) rm config - [`f27c66f`](https://github.com/ollama/ollama/commit/f27c66fb0ca9c18ee18258281f1fc17ce8cf7077) rm bench ### 📊 Changes **7 files changed** (+350 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `api/client.go` (+17 -0) 📝 `cmd/cmd.go` (+59 -3) ➕ `server/copy_darwin.go` (+23 -0) ➕ `server/copy_linux.go` (+7 -0) ➕ `server/copy_windows.go` (+67 -0) 📝 `server/routes.go` (+113 -1) 📝 `server/routes_test.go` (+64 -0) </details> ### 📄 Description This PR looks to utilize local copies to a local server prior to posting the blob through the server --- <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-24 22:52:44 -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#43201