mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #3999] [CLOSED] [Engine] add an sm_89 MMVQ_IL matvec table (measured on an RTX 4080 laptop) #4869
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#4869
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/3999
Author: @fulvius31
Created: 10/24/2026
Status: ❌ Closed
Base:
main← Head:engine/sm89-mmvq-il-table📝 Commits (1)
5e194ae[Engine] add an sm_89 MMVQ_IL matvec table (measured on an RTX 4080 Laptop)📊 Changes
2 files changed (+37 additions, -9 deletions)
View changed files
📝
src/kernels/cuda/native_mmvq.cu(+29 -1)📝
src/kernels/mmvq_il_parity.cpp(+8 -8)📄 Description
Problem: the interleaved small-batch matvec (STRATA_MMVQ_IL) dense-projection rows-per-warp choice is a per-architecture table (kIlArch), and sm_89 (Ada) had none - native_mmvq.cu said "nobody measured it (we have no such card)" - so RTX 40 cards fell back on the shared table measured on an RTX 3060 / RTX 5070.
Result: a measured sm_89 table (kIlRows_89 plus the one-column entry) from an RTX 4080 Laptop (58 SMs, 12 GB). Bitwise equal to native_mmvq, so it is only speed. End-to-end decode on the card is unchanged within noise; the dense projections are a small slice of window time.
Approach:
mmvq_il_parity --bench --emit-tableon the card and pasted the printed block as kIlRows_89, registered {89, ...} in kIlArch. The sm_89 table adds the Q3_K row (the shared table has none) and is less aggressive on Q4_K / Q5_K / Q6_K at 2-3 columns, where the shared rows were slower on this card.Validation:
Not run: Windows, a second Ada (sm_89) card, release-default-config runs.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.