[GH-ISSUE #1831] [Issue]: local model self hosting capped at 32k context #893

Closed
opened 2026-10-21 05:23:03 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @jwinpbe on GitHub (Jun 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1831

Originally assigned to: @cha1latte on GitHub.

Summary

Local models are capped at 32k context limit

Expected behavior

If a music producer loads up Gemma 4 24B with a 5090 she should be able to do the whole 256k

Actual behavior

anything above 32k is greyed out

Steps to reproduce

  1. do any local model
  2. set to 32769
  3. sadness

Environment

  • Marinara Engine version: 1.6.1
  • Install type: unknown

Logs, screenshots, or video

Image
  • I DID NOT read this template and provide the requested details.
Originally created by @jwinpbe on GitHub (Jun 1, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1831 Originally assigned to: @cha1latte on GitHub. ## Summary Local models are capped at 32k context limit ## Expected behavior If a music producer loads up Gemma 4 24B with a 5090 she should be able to do the whole 256k ## Actual behavior anything above 32k is greyed out ## Steps to reproduce 1. do any local model 2. set to 32769 3. sadness ## Environment - Marinara Engine version: 1.6.1 - Install type: unknown ## Logs, screenshots, or video <img width="1468" height="916" alt="Image" src="https://github.com/user-attachments/assets/7486817d-14ed-4e0c-86ca-3ce403a4d1ce" /> - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:23:03 +07:00
Author
Owner

@cha1latte commented on GitHub (Jun 1, 2026):

Good news: On the current refactor branch, Marinara no longer has a hard 32k ceiling on local/self-hosted model context.

For a local OpenAI-compatible/self-hosted connection, open the connection details and set Max Context Window manually to the model/runtime value you want, such as 128000 or 256000. That value is persisted on the connection and used by prompt fitting, so refactor Marinara packs chat context against the configured window instead of stopping at 32k.

Closing this as covered on refactor; if the remaining request is automatic detection of a local model’s true context window, that should be a smaller follow-up.

Thanks!

<!-- gh-comment-id:4596096825 --> @cha1latte commented on GitHub (Jun 1, 2026): Good news: On the current refactor branch, Marinara no longer has a hard 32k ceiling on local/self-hosted model context. For a local OpenAI-compatible/self-hosted connection, open the connection details and set Max Context Window manually to the model/runtime value you want, such as 128000 or 256000. That value is persisted on the connection and used by prompt fitting, so refactor Marinara packs chat context against the configured window instead of stopping at 32k. Closing this as covered on refactor; if the remaining request is _automatic detection of a local model’s true context window_, that should be a smaller follow-up. Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#893
No description provided.