[PR #11048] feat: uneven splits #13421

Closed
opened 2026-04-13 00:26:50 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/ollama/ollama/pull/11048

State: closed
Merged: Yes


The current splitDim function only operates on tensors that are split evenly which isn't always the case, e.g. a QKV tensor. This change allows the function to be used for arbitrary splits

**Original Pull Request:** https://github.com/ollama/ollama/pull/11048 **State:** closed **Merged:** Yes --- The current `splitDim` function only operates on tensors that are split evenly which isn't always the case, e.g. a QKV tensor. This change allows the function to be used for arbitrary splits
GiteaMirror added the pull-request label 2026-04-13 00:26:50 -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#13421