[PR #4746] [CLOSED] server: try github.com/minio/sha256-simd #73876

Closed
opened 2026-05-05 05:47:56 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/4746
Author: @bmizerany
Created: 5/31/2024
Status: Closed

Base: mainHead: bmizerany/fastverify


📝 Commits (1)

  • 95af97b server: try github.com/minio/sha256-simd

📊 Changes

9 files changed (+17 additions, -8 deletions)

View changed files

📝 cmd/cmd.go (+2 -1)
📝 convert/tokenizer.go (+2 -1)
📝 go.mod (+1 -0)
📝 go.sum (+2 -0)
📝 llm/llama.cpp (+1 -1)
📝 server/auth.go (+2 -1)
📝 server/images.go (+3 -2)
📝 server/layer.go (+2 -1)
📝 server/manifest.go (+2 -1)

📄 Description

This is an experimental change to see if sha256-simd is faster than the standard library's sha256 implementation. It is not yet clear if this will be a net win, but it is worth trying.


🔄 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/4746 **Author:** [@bmizerany](https://github.com/bmizerany) **Created:** 5/31/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `bmizerany/fastverify` --- ### 📝 Commits (1) - [`95af97b`](https://github.com/ollama/ollama/commit/95af97b9f3fb1d5a955ffc54ebb5b74afc230709) server: try github.com/minio/sha256-simd ### 📊 Changes **9 files changed** (+17 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+2 -1) 📝 `convert/tokenizer.go` (+2 -1) 📝 `go.mod` (+1 -0) 📝 `go.sum` (+2 -0) 📝 `llm/llama.cpp` (+1 -1) 📝 `server/auth.go` (+2 -1) 📝 `server/images.go` (+3 -2) 📝 `server/layer.go` (+2 -1) 📝 `server/manifest.go` (+2 -1) </details> ### 📄 Description This is an experimental change to see if sha256-simd is faster than the standard library's sha256 implementation. It is not yet clear if this will be a net win, but it is worth trying. --- <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-05-05 05:47:56 -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#73876