[PR #673] [MERGED] clean up num_gpu calculation code #15558

Closed
opened 2026-04-16 05:02:08 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/673
Author: @BruceMacD
Created: 10/2/2023
Status: Merged
Merged: 10/2/2023
Merged by: @BruceMacD

Base: mainHead: brucemacd/numgpu-logs


📝 Commits (2)

📊 Changes

1 file changed (+4 additions, -4 deletions)

View changed files

📝 llm/llama.go (+4 -4)

📄 Description

there were some unreachable code paths and unused variables here from iterations on an old branch, remove them


🔄 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/673 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 10/2/2023 **Status:** ✅ Merged **Merged:** 10/2/2023 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `brucemacd/numgpu-logs` --- ### 📝 Commits (2) - [`4d57ae5`](https://github.com/ollama/ollama/commit/4d57ae595e4da583b9dad992a600f103d82a54f0) clean up num_gpu calculation code - [`6ba02bb`](https://github.com/ollama/ollama/commit/6ba02bbe0302951d47a56cd5935689baf88c7f5e) Update llama.go ### 📊 Changes **1 file changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `llm/llama.go` (+4 -4) </details> ### 📄 Description there were some unreachable code paths and unused variables here from iterations on an old branch, remove them --- <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-16 05:02:08 -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#15558