[PR #1683] [MERGED] Fix windows system memory lookup #21186

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/1683
Author: @dhiltgen
Created: 12/23/2023
Status: Merged
Merged: 1/3/2024
Merged by: @dhiltgen

Base: mainHead: fix_windows_test


📝 Commits (1)

  • a2ad952 Fix windows system memory lookup

📊 Changes

8 files changed (+68 additions, -20 deletions)

View changed files

📝 gpu/gpu.go (+14 -1)
📝 gpu/gpu_darwin.go (+9 -3)
📝 gpu/gpu_info.h (+9 -8)
📝 gpu/gpu_info_cpu.c (+2 -1)
📝 gpu/gpu_info_cuda.c (+6 -2)
📝 gpu/gpu_info_rocm.c (+6 -2)
📝 gpu/gpu_test.go (+15 -0)
📝 gpu/types.go (+7 -3)

📄 Description

This refines the gpu package error handling and fixes a bug with the system memory lookup on windows.


🔄 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/1683 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 12/23/2023 **Status:** ✅ Merged **Merged:** 1/3/2024 **Merged by:** [@dhiltgen](https://github.com/dhiltgen) **Base:** `main` ← **Head:** `fix_windows_test` --- ### 📝 Commits (1) - [`a2ad952`](https://github.com/ollama/ollama/commit/a2ad952440feaf997cfdc9f0d81d0f545bec4974) Fix windows system memory lookup ### 📊 Changes **8 files changed** (+68 additions, -20 deletions) <details> <summary>View changed files</summary> 📝 `gpu/gpu.go` (+14 -1) 📝 `gpu/gpu_darwin.go` (+9 -3) 📝 `gpu/gpu_info.h` (+9 -8) 📝 `gpu/gpu_info_cpu.c` (+2 -1) 📝 `gpu/gpu_info_cuda.c` (+6 -2) 📝 `gpu/gpu_info_rocm.c` (+6 -2) 📝 `gpu/gpu_test.go` (+15 -0) 📝 `gpu/types.go` (+7 -3) </details> ### 📄 Description This refines the gpu package error handling and fixes a bug with the system memory lookup on windows. --- <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-19 15:29:49 -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#21186