[PR #8867] [CLOSED] bytes.go with unified byte format conversion constants #12803

Closed
opened 2026-04-13 00:10:05 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/8867
Author: @hurricane1988
Created: 2/6/2025
Status: Closed

Base: mainHead: main


📝 Commits (1)

  • 91c0bd9 bytes.go with unified byte format conversion constants

📊 Changes

12 files changed (+60 additions, -66 deletions)

View changed files

📝 api/client.go (+1 -1)
📝 discover/gpu.go (+3 -3)
📝 discover/gpu_darwin.go (+1 -1)
📝 discover/gpu_linux.go (+4 -4)
📝 format/bytes.go (+19 -24)
📝 go.mod (+1 -0)
📝 go.sum (+0 -2)
📝 integration/concurrency_test.go (+14 -14)
📝 llm/server.go (+1 -1)
📝 server/download.go (+2 -2)
📝 server/sched_test.go (+12 -12)
📝 server/upload.go (+2 -2)

📄 Description

No description provided


🔄 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/8867 **Author:** [@hurricane1988](https://github.com/hurricane1988) **Created:** 2/6/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`91c0bd9`](https://github.com/ollama/ollama/commit/91c0bd9ed2bdba69a5bfba387ec38b9d31b32042) bytes.go with unified byte format conversion constants ### 📊 Changes **12 files changed** (+60 additions, -66 deletions) <details> <summary>View changed files</summary> 📝 `api/client.go` (+1 -1) 📝 `discover/gpu.go` (+3 -3) 📝 `discover/gpu_darwin.go` (+1 -1) 📝 `discover/gpu_linux.go` (+4 -4) 📝 `format/bytes.go` (+19 -24) 📝 `go.mod` (+1 -0) 📝 `go.sum` (+0 -2) 📝 `integration/concurrency_test.go` (+14 -14) 📝 `llm/server.go` (+1 -1) 📝 `server/download.go` (+2 -2) 📝 `server/sched_test.go` (+12 -12) 📝 `server/upload.go` (+2 -2) </details> ### 📄 Description _No description provided_ --- <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:10:05 -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#12803