[PR #2437] [MERGED] replace strings buffer with hasher #57586

Closed
opened 2026-04-29 12:15:06 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/2437
Author: @mxyng
Created: 2/10/2024
Status: Merged
Merged: 2/21/2024
Merged by: @jmorganca

Base: mainHead: mxyng/hash


📝 Commits (1)

  • a1ef2c1 replace strings buffer with hasher

📊 Changes

1 file changed (+3 additions, -6 deletions)

View changed files

📝 server/upload.go (+3 -6)

📄 Description

the buffered value is going into the hasher eventually so write directly to the hasher instead


🔄 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/2437 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 2/10/2024 **Status:** ✅ Merged **Merged:** 2/21/2024 **Merged by:** [@jmorganca](https://github.com/jmorganca) **Base:** `main` ← **Head:** `mxyng/hash` --- ### 📝 Commits (1) - [`a1ef2c1`](https://github.com/ollama/ollama/commit/a1ef2c1bff5148c7c6ea94ef1a44e5e195e296a0) replace strings buffer with hasher ### 📊 Changes **1 file changed** (+3 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `server/upload.go` (+3 -6) </details> ### 📄 Description the buffered value is going into the hasher eventually so write directly to the hasher instead --- <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 12:15:07 -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#57586