[PR #9950] [MERGED] Fix /proc/cpuinfo file open and close. #13105

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

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/9950
Author: @zhanluxianshen
Created: 3/23/2025
Status: Merged
Merged: 4/1/2025
Merged by: @BruceMacD

Base: mainHead: fix-file-open


📝 Commits (1)

  • cd2fd66 Fix /proc/cpuinfo file open and close.

📊 Changes

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

View changed files

📝 discover/gpu_linux.go (+2 -3)

📄 Description

1 fix file open and close
2 reduce redundancy loops.


🔄 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/9950 **Author:** [@zhanluxianshen](https://github.com/zhanluxianshen) **Created:** 3/23/2025 **Status:** ✅ Merged **Merged:** 4/1/2025 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `fix-file-open` --- ### 📝 Commits (1) - [`cd2fd66`](https://github.com/ollama/ollama/commit/cd2fd662ed449e3b24caa3eeb6c7ddf57490f5d5) Fix /proc/cpuinfo file open and close. ### 📊 Changes **1 file changed** (+2 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `discover/gpu_linux.go` (+2 -3) </details> ### 📄 Description 1 fix file open and close 2 reduce redundancy loops. --- <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:18:10 -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#13105