mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1660] [CLOSED] prefill: let native-layout packs take STRATA_MMQ_RESIDENT_SORT_NE #3590
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3590
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/1660
Author: @ruibeikaa
Created: 10/9/2026
Status: ❌ Closed
Base:
main← Head:resident-sort-native📝 Commits (1)
820e1e0prefill: let native-layout packs take STRATA_MMQ_RESIDENT_SORT_NE📊 Changes
1 file changed (+4 additions, -1 deletions)
View changed files
📝
src/prefill/mmq_resident_sort.hpp(+4 -1)📄 Description
The row-count sort of a fully resident layer's experts (
c6a0d403) skips native-layout packs, though slot/src/off are built the same way for both layouts and nothing reads off[e + 1] as a count. This drops that one condition; the switch stays opt-in.Measured on 4× GP100 (2× PH402, sm_60), Swift 1.5 IQ3_XXS served native with Q8_0 dense shards,
--layer-split 12,24,36, every expert resident. Switch off → on, the same build, replies identical bit for bit:The expert GEMMs take 44% less time; nothing else moves, and decode is unchanged. Only sm_60 was checked for identical output; whether newer architectures' MMQ (stream-k) keeps the bits under the reordered groups is not measured.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.