[PR #13798] cmd: create blob in parallel with checksum #14395

Open
opened 2026-04-13 00:52:41 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/13798
Author: @mxyng
Created: 1/20/2026
Status: 🔄 Open

Base: mainHead: mxyng/async-upload


📝 Commits (1)

  • 9ef2106 cmd: create blob in parallel with checksum

📊 Changes

5 files changed (+240 additions, -349 deletions)

View changed files

📝 cmd/cmd.go (+13 -76)
cmd/create.go (+103 -0)
📝 parser/parser.go (+50 -105)
📝 parser/parser_test.go (+74 -130)
types/syncmap/syncmap.go (+0 -38)

📄 Description

a simple optimisation where once a blob has been checksumed, immediately upload it; don't wait for all files to be checksumed before starting upload.

this also upload adapter files concurrently with model files


🔄 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/13798 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 1/20/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `mxyng/async-upload` --- ### 📝 Commits (1) - [`9ef2106`](https://github.com/ollama/ollama/commit/9ef2106b4738436d857c1fae555f8378b3356da7) cmd: create blob in parallel with checksum ### 📊 Changes **5 files changed** (+240 additions, -349 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+13 -76) ➕ `cmd/create.go` (+103 -0) 📝 `parser/parser.go` (+50 -105) 📝 `parser/parser_test.go` (+74 -130) ➖ `types/syncmap/syncmap.go` (+0 -38) </details> ### 📄 Description a simple optimisation where once a blob has been checksumed, immediately upload it; don't wait for all files to be checksumed before starting upload. this also upload adapter files concurrently with model files --- <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-13 00:52:41 -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#14395