[PR #6106] [MERGED] patches: phi3 optional sliding window attention #43264

Closed
opened 2026-04-24 22:55:29 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/6106
Author: @mxyng
Created: 7/31/2024
Status: Merged
Merged: 7/31/2024
Merged by: @mxyng

Base: mainHead: mxyng/default-sliding-window-attention


📝 Commits (1)

  • 0f3271d patches: phi3 default sliding window attention

📊 Changes

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

View changed files

llm/patches/11-phi3-sliding-window.diff (+43 -0)

📄 Description

this change allows models that do not set phi3.attention.sliding_window to revert to the previous behaviour instead of segfaulting

resolves #5956


🔄 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/6106 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 7/31/2024 **Status:** ✅ Merged **Merged:** 7/31/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/default-sliding-window-attention` --- ### 📝 Commits (1) - [`0f3271d`](https://github.com/ollama/ollama/commit/0f3271db8892581f800b6f1c4a795aac4f3127c6) patches: phi3 default sliding window attention ### 📊 Changes **1 file changed** (+43 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `llm/patches/11-phi3-sliding-window.diff` (+43 -0) </details> ### 📄 Description this change allows models that do not set `phi3.attention.sliding_window` to revert to the previous behaviour instead of segfaulting resolves #5956 --- <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-24 22:55:29 -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#43264