[PR #2272] [CLOSED] Default threads enviornment variable override #10841

Closed
opened 2026-04-12 23:12:31 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/2272
Author: @ghost
Created: 1/30/2024
Status: Closed

Base: mainHead: override_default_threads


📝 Commits (5)

  • 72e00da Expose opts.NumThread as env variable OLLAMA_THREADS for override.
  • 26be680 Merge branch 'ollama:main' into override_default_threads
  • 11f0b6c Merge branch 'ollama:main' into override_default_threads
  • 9cae844 Revert debug log
  • e7a5abd Merge branch 'main' into override_default_threads

📊 Changes

1 file changed (+6 additions, -0 deletions)

View changed files

📝 llm/llm.go (+6 -0)

📄 Description

Expose opts.NumThread as env variable OLLAMA_THREADS for override.


🔄 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/2272 **Author:** [@ghost](https://github.com/ghost) **Created:** 1/30/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `override_default_threads` --- ### 📝 Commits (5) - [`72e00da`](https://github.com/ollama/ollama/commit/72e00da5dade7fe772b0ca612b17fa2f2b493466) Expose opts.NumThread as env variable OLLAMA_THREADS for override. - [`26be680`](https://github.com/ollama/ollama/commit/26be680c16ac6eb5c5f000df11dcdcb26949730f) Merge branch 'ollama:main' into override_default_threads - [`11f0b6c`](https://github.com/ollama/ollama/commit/11f0b6caf69df8173b404724972d727f0fa02421) Merge branch 'ollama:main' into override_default_threads - [`9cae844`](https://github.com/ollama/ollama/commit/9cae8446a15b84e53b8bf35d2dbb033d4d2a8d65) Revert debug log - [`e7a5abd`](https://github.com/ollama/ollama/commit/e7a5abdbf4d429c8950fc6ac9aebc36b779d340c) Merge branch 'main' into override_default_threads ### 📊 Changes **1 file changed** (+6 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `llm/llm.go` (+6 -0) </details> ### 📄 Description Expose opts.NumThread as env variable OLLAMA_THREADS for override. --- <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-12 23:12:31 -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#10841