mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1339] [CLOSED] Experimental SM120 eight-column Q8 QKV projection #3397
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#3397
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/1339
Author: @CC-David-CC
Created: 10/7/2026
Status: ❌ Closed
Base:
main← Head:perf/q8-t8-main📝 Commits (5)
4237c24cuda: add opt-in SM120 Q8 eight-column QKV MMQ projection81f16f4docs: record focused qualification and measured resultsb57144bMerge commit '61b3fb5dd3' into HEAD2764a5cRefresh dense T8 experiment with current-main model and backend evidence039f257Include sanitized dense T8 engine and component logs📊 Changes
51 files changed (+41532 additions, -2 deletions)
View changed files
📝
CMakeLists.txt(+14 -1)➕
docs/experiments/dense-t8-main/README.md(+32 -0)➕
docs/experiments/dense-t8-main/current-main-refresh/1339-default-main/engine.log(+72 -0)➕
docs/experiments/dense-t8-main/current-main-refresh/1339-default-main/memory-samples.json(+3781 -0)➕
docs/experiments/dense-t8-main/current-main-refresh/1339-default-main/result.json(+846 -0)➕
docs/experiments/dense-t8-main/current-main-refresh/1339-default-new/engine.log(+72 -0)➕
docs/experiments/dense-t8-main/current-main-refresh/1339-default-new/memory-samples.json(+3717 -0)➕
docs/experiments/dense-t8-main/current-main-refresh/1339-default-new/result.json(+846 -0)➕
docs/experiments/dense-t8-main/current-main-refresh/README.md(+59 -0)➕
docs/experiments/dense-t8-main/current-main-refresh/cuda-status.json(+43 -0)➕
docs/experiments/dense-t8-main/current-main-refresh/current-audit.json(+154 -0)➕
docs/experiments/dense-t8-main/current-main-refresh/current-q8-t8-final-candidate/engine.log(+75 -0)➕
docs/experiments/dense-t8-main/current-main-refresh/current-q8-t8-final-candidate/memory-samples.json(+3695 -0)➕
docs/experiments/dense-t8-main/current-main-refresh/current-q8-t8-final-candidate/result.json(+851 -0)➕
docs/experiments/dense-t8-main/current-main-refresh/current-q8-t8-final-control/engine.log(+72 -0)➕
docs/experiments/dense-t8-main/current-main-refresh/current-q8-t8-final-control/memory-samples.json(+3681 -0)➕
docs/experiments/dense-t8-main/current-main-refresh/current-q8-t8-final-control/result.json(+846 -0)➕
docs/experiments/dense-t8-main/current-main-refresh/current-t8-fallback-t1-on0/engine.log(+62 -0)➕
docs/experiments/dense-t8-main/current-main-refresh/current-t8-fallback-t1-on0/memory-samples.json(+3893 -0)➕
docs/experiments/dense-t8-main/current-main-refresh/current-t8-fallback-t1-on0/result.json(+846 -0)...and 31 more files
📄 Description
Adds a default-off Q8 QKV MMQ path for CUDA SM120, exactly eight activation columns, 2,560 inputs and 10,240 outputs. Q8 activation codes and promoted half scales are preserved; arithmetic reduction order changes. Other shapes retain current main's matrix dispatcher. Refreshed to upstream main
61b3fb5d, preserving its current QKV fork and fallback behavior.Fresh CUDA/HIP/SYCL builds passed. The CUDA scalar/capture/mutation/lifetime fixture passed and Compute Sanitizer memcheck reported zero errors. A single warmed isolated stage measured 20.543751 → 14.330000 µs, including quantization/repacking; this is not a whole-request gain.
Eight full model cases completed with exact-routing controls. Default-off matches main's 512 output IDs. T8 on/off first differ at index 16; observed decode rates were 70.98 off versus 68.28 on, with changed output/work. The earlier apparent request-speed gain did not reproduce. Keep the feature experimental/default off, with no quality-equivalence claim.
The long-prompt T1/T4 benchmarks match all 512 IDs and add no eight-column launches. Their preceding 44-token function prompts still use five eight-column verifier reads under
--spec 8, independently of the MTP cap; those 128-token function outputs first differ at index 26. Thus an MTP cap is not a global feature-off control. All eight narrow arithmetic checks passed; the long generated module was not scored.Fresh evidence, limits and reproduction includes full token arrays, counters, timing observations, sampled memory, sanitized engine/component logs and exact source/binary provenance.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.