mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #4268] [CLOSED] [Benchmark] STRATA_PROMPT_ATTN_IMMA and STRATA_HC_UPMIX on 2x RTX 4060 Ti (sm_89), Strata 0.2.6 #4980
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#4980
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/4268
Author: @fioruccione
Created: 10/26/2026
Status: ❌ Closed
Base:
main← Head:bench-sm89-imma-upmix📝 Commits (2)
02c40c9[Benchmark] STRATA_PROMPT_ATTN_IMMA and STRATA_HC_UPMIX on 2x RTX 4060 Ti (sm_89), 0.2.6369e959[Benchmark] COMMUNITY.md: the PR number of the sm_89 IMMA/UPMIX report📊 Changes
51 files changed (+13728 additions, -0 deletions)
View changed files
➕
bench/results/2026-10-26-community-2x-rtx-4060ti-imma-upmix/README.md(+112 -0)➕
bench/results/2026-10-26-community-2x-rtx-4060ti-imma-upmix/ab/A-baseline-round1/answer.jsonl(+1 -0)➕
bench/results/2026-10-26-community-2x-rtx-4060ti-imma-upmix/ab/A-baseline-round1/decode.jsonl(+2 -0)➕
bench/results/2026-10-26-community-2x-rtx-4060ti-imma-upmix/ab/A-baseline-round1/engine-excerpt.txt(+77 -0)➕
bench/results/2026-10-26-community-2x-rtx-4060ti-imma-upmix/ab/A-baseline-round1/power.csv(+1335 -0)➕
bench/results/2026-10-26-community-2x-rtx-4060ti-imma-upmix/ab/A-baseline-round1/prefill.jsonl(+4 -0)➕
bench/results/2026-10-26-community-2x-rtx-4060ti-imma-upmix/ab/A-baseline-round2/answer.jsonl(+1 -0)➕
bench/results/2026-10-26-community-2x-rtx-4060ti-imma-upmix/ab/A-baseline-round2/decode.jsonl(+2 -0)➕
bench/results/2026-10-26-community-2x-rtx-4060ti-imma-upmix/ab/A-baseline-round2/engine-excerpt.txt(+77 -0)➕
bench/results/2026-10-26-community-2x-rtx-4060ti-imma-upmix/ab/A-baseline-round2/power.csv(+1355 -0)➕
bench/results/2026-10-26-community-2x-rtx-4060ti-imma-upmix/ab/A-baseline-round2/prefill.jsonl(+4 -0)➕
bench/results/2026-10-26-community-2x-rtx-4060ti-imma-upmix/ab/B-imma-round1/answer.jsonl(+1 -0)➕
bench/results/2026-10-26-community-2x-rtx-4060ti-imma-upmix/ab/B-imma-round1/decode.jsonl(+2 -0)➕
bench/results/2026-10-26-community-2x-rtx-4060ti-imma-upmix/ab/B-imma-round1/engine-excerpt.txt(+77 -0)➕
bench/results/2026-10-26-community-2x-rtx-4060ti-imma-upmix/ab/B-imma-round1/power.csv(+1331 -0)➕
bench/results/2026-10-26-community-2x-rtx-4060ti-imma-upmix/ab/B-imma-round1/prefill.jsonl(+4 -0)➕
bench/results/2026-10-26-community-2x-rtx-4060ti-imma-upmix/ab/B-imma-round2/answer.jsonl(+1 -0)➕
bench/results/2026-10-26-community-2x-rtx-4060ti-imma-upmix/ab/B-imma-round2/decode.jsonl(+2 -0)➕
bench/results/2026-10-26-community-2x-rtx-4060ti-imma-upmix/ab/B-imma-round2/engine-excerpt.txt(+78 -0)➕
bench/results/2026-10-26-community-2x-rtx-4060ti-imma-upmix/ab/B-imma-round2/power.csv(+1303 -0)...and 31 more files
📄 Description
Problem and result
The prompt read of a long document is what my office waits for, and on GeForce Ada cards FP16 with FP32 accumulation
runs at half rate (about 45 TFLOPS on my RTX 4060 Ti in cuBLAS, against 74 with FP16 accumulation and 151 in INT8).
STRATA_PREFILL_TIMING=1showed that two phases of a 69K prompt,hc readandqsa attn, take about 15% of the GPUtime. DETAILS.md has an opt-in switch for each,
STRATA_HC_UPMIXandSTRATA_PROMPT_ATTN_IMMA, measured on sm_86 only.This PR adds what they do on sm_89: with both on, prompts read 4.8% faster at 20K and 6.1% at 69K (two rounds of
A/B/C/D, every range clear of the baseline's), and
bench.sh --longgives +5.3% at 16K and +4.5% at 32K. 4K promptsand decode do not change. Results only: one new folder under
bench/results/and its row inCOMMUNITY.md.Related discussion
None. This is a benchmark report. I am not asking to change a default here. If the numbers are useful for that on RTX
40 cards, I can open an issue.
Approach
Each configuration is a fresh server start from the same config, with only the environment changed. I ran
A B C D and then D C B A on Strata 0.2.6 built here. Each start got a warm-up, two fresh ~20K and two fresh ~69K
prompts, two decodes and one fixed answer for comparison, with power sampled every 250 ms. Then
bench.sh --longranonce with and once without the switches. The README in the folder has the method and the per-phase timings.
Validation
Passed:
v0.2.6(4b9e05a2), local CUDA 12.6 sm_89 build, 2x RTX 4060 Ti, UD-IQ4_XS: 0 failedrequests, no error lines in the engine log. Every request is in
ab/*/prefill.jsonl.STRATA_HC_UPMIX_CHECK=4: 16 of 16 checks with relative RMS 0 and max difference 0.qsa_prompt_attn_parity 32768 2048 5built from the same tag, on both GPUs:FAILURES: 0../bench.sh --longon the baseline and on both switches: 0 failed requests each.Failed:
bench.shattempt with--urlsent no API key, so every request got a 401. That was my mistake, notStrata's. I re-ran it without
--urland those are the results in the folder.Not run:
tools/quant_quality.pyreads through the decode windows, and these switches onlytouch the prompt path.
Limits
One machine, one model and quant, two rounds of two requests per size. UPMIX_CHECK covers the first four reads of
each start (layers 0-1), not every layer. Text at temperature 0 differs between two baseline runs too, so the
answers cannot show whether IMMA's rounding changes them.
I did this with an AI coding assistant: it wrote the scripts and helped me read the engine code. I ran everything on my
machine and checked the numbers.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.