[PR #11125] Increase default context size to 8k #12185

Open
opened 2025-11-12 16:30:36 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/11125
Author: @dhiltgen
Created: 6/18/2025
Status: 🔄 Open

Base: mainHead: 8k


📝 Commits (1)

  • 722d3b2 Increase default context size to 8k

📊 Changes

4 files changed (+13 additions, -10 deletions)

View changed files

📝 docs/faq.md (+8 -4)
📝 envconfig/config.go (+2 -2)
📝 envconfig/config_test.go (+1 -1)
📝 server/sched.go (+2 -3)

📄 Description

Adjust the default parallism down to 1 so this has minimal impacts on memory usage. Note for small VRAM GPUs this may cause fewer layers to load if we already reduced the parallelism down to 1. This may also impact some users of mllama which already reduced num parallel to 1.

Draft until I can test on various VRAM sizes to confirm minimal impact.


🔄 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/11125 **Author:** [@dhiltgen](https://github.com/dhiltgen) **Created:** 6/18/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `8k` --- ### 📝 Commits (1) - [`722d3b2`](https://github.com/ollama/ollama/commit/722d3b23cd97e19f195610d58f2d5067ca78fb30) Increase default context size to 8k ### 📊 Changes **4 files changed** (+13 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `docs/faq.md` (+8 -4) 📝 `envconfig/config.go` (+2 -2) 📝 `envconfig/config_test.go` (+1 -1) 📝 `server/sched.go` (+2 -3) </details> ### 📄 Description Adjust the default parallism down to 1 so this has minimal impacts on memory usage. Note for small VRAM GPUs this may cause fewer layers to load if we already reduced the parallelism down to 1. This may also impact some users of mllama which already reduced num parallel to 1. Draft until I can test on various VRAM sizes to confirm minimal impact. --- <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 2025-11-12 16:30:36 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama-ollama#12185
No description provided.