[PR #10451] [MERGED] Revert "increase default context length to 4096" #59942

Closed
opened 2026-04-29 14:51:54 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/10451
Author: @drifkin
Created: 4/28/2025
Status: Merged
Merged: 4/29/2025
Merged by: @drifkin

Base: mainHead: revert-10364-drifkin/context-length


📝 Commits (1)

  • dd93e1a Revert "increase default context length to 4096 (#10364)"

📊 Changes

7 files changed (+12 additions, -49 deletions)

View changed files

📝 cmd/cmd.go (+0 -1)
📝 docs/faq.md (+3 -3)
📝 envconfig/config.go (+2 -16)
📝 envconfig/config_test.go (+2 -2)
📝 server/routes_generate_test.go (+0 -9)
📝 server/sched.go (+5 -17)
📝 server/sched_test.go (+0 -1)

📄 Description

Reverts ollama/ollama#10364

We plan on replacing this with a version that sets it to 4096 across the board instead of having a carve-out for low VRAM machines


🔄 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/10451 **Author:** [@drifkin](https://github.com/drifkin) **Created:** 4/28/2025 **Status:** ✅ Merged **Merged:** 4/29/2025 **Merged by:** [@drifkin](https://github.com/drifkin) **Base:** `main` ← **Head:** `revert-10364-drifkin/context-length` --- ### 📝 Commits (1) - [`dd93e1a`](https://github.com/ollama/ollama/commit/dd93e1af85be606c642bcd9da1f69761cfdbaee8) Revert "increase default context length to 4096 (#10364)" ### 📊 Changes **7 files changed** (+12 additions, -49 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+0 -1) 📝 `docs/faq.md` (+3 -3) 📝 `envconfig/config.go` (+2 -16) 📝 `envconfig/config_test.go` (+2 -2) 📝 `server/routes_generate_test.go` (+0 -9) 📝 `server/sched.go` (+5 -17) 📝 `server/sched_test.go` (+0 -1) </details> ### 📄 Description Reverts ollama/ollama#10364 We plan on replacing this with a version that sets it to 4096 across the board instead of having a carve-out for low VRAM machines --- <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-29 14:51:54 -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#59942