[PR #15102] [MERGED] launch: skip context length warning for MLX models and show model name #20295

Closed
opened 2026-04-16 07:32:32 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/15102
Author: @ParthSareen
Created: 3/27/2026
Status: Merged
Merged: 3/27/2026
Merged by: @ParthSareen

Base: mainHead: parth-update-context-length-warning


📝 Commits (1)

  • 442bff6 launch: skip context length warning for MLX models and show model name

📊 Changes

2 files changed (+56 additions, -5 deletions)

View changed files

📝 cmd/launch/launch_test.go (+30 -3)
📝 cmd/launch/models.go (+26 -2)

📄 Description

We currently just check server context length to do warnings. With the MLX change we should skip that since max context length gets allocated automatically.


🔄 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/15102 **Author:** [@ParthSareen](https://github.com/ParthSareen) **Created:** 3/27/2026 **Status:** ✅ Merged **Merged:** 3/27/2026 **Merged by:** [@ParthSareen](https://github.com/ParthSareen) **Base:** `main` ← **Head:** `parth-update-context-length-warning` --- ### 📝 Commits (1) - [`442bff6`](https://github.com/ollama/ollama/commit/442bff6a5a1750ac996648801d885b139e1272ed) launch: skip context length warning for MLX models and show model name ### 📊 Changes **2 files changed** (+56 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `cmd/launch/launch_test.go` (+30 -3) 📝 `cmd/launch/models.go` (+26 -2) </details> ### 📄 Description We currently just check server context length to do warnings. With the MLX change we should skip that since max context length gets allocated automatically. --- <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-16 07:32:32 -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#20295