mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #1695] [CLOSED] bench: P4 prefill 78.8 -> 114.8 tok/s with existing auto sizing; expert reuse roofline #3614
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#3614
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/1695
Author: @CC-David-CC
Created: 10/9/2026
Status: ❌ Closed
Base:
main← Head:bench/p4-prefill-roofline📝 Commits (1)
31c8df1bench: measure P4 prefill chunk sizing and expert transfer reuse📊 Changes
22 files changed (+44728 additions, -0 deletions)
View changed files
➕
bench/results/2026-10-09-community-p4-prefill-roofline/P4_PREFILL_ROOFLINE.txt(+49 -0)➕
bench/results/2026-10-09-community-p4-prefill-roofline/README.md(+34 -0)➕
bench/results/2026-10-09-community-p4-prefill-roofline/analyze_roofline.py(+121 -0)➕
bench/results/2026-10-09-community-p4-prefill-roofline/host_read.cpp(+20 -0)➕
bench/results/2026-10-09-community-p4-prefill-roofline/instrumentation.patch(+60 -0)➕
bench/results/2026-10-09-community-p4-prefill-roofline/native_experts.txt(+49 -0)➕
bench/results/2026-10-09-community-p4-prefill-roofline/p4-prefill-roofline.png(+0 -0)➕
bench/results/2026-10-09-community-p4-prefill-roofline/p4-prefill-roofline.svg(+4023 -0)➕
bench/results/2026-10-09-community-p4-prefill-roofline/p4-roofline/auto/config.json(+78 -0)➕
bench/results/2026-10-09-community-p4-prefill-roofline/p4-roofline/auto/engine.log(+57 -0)➕
bench/results/2026-10-09-community-p4-prefill-roofline/p4-roofline/auto/results.json(+13069 -0)➕
bench/results/2026-10-09-community-p4-prefill-roofline/p4-roofline/config.json(+76 -0)➕
bench/results/2026-10-09-community-p4-prefill-roofline/p4-roofline/control/config.json(+78 -0)➕
bench/results/2026-10-09-community-p4-prefill-roofline/p4-roofline/control/engine.log(+56 -0)➕
bench/results/2026-10-09-community-p4-prefill-roofline/p4-roofline/control/results.json(+13069 -0)➕
bench/results/2026-10-09-community-p4-prefill-roofline/p4-roofline/engine.log(+96 -0)➕
bench/results/2026-10-09-community-p4-prefill-roofline/p4-roofline/host-roofs.jsonl(+3 -0)➕
bench/results/2026-10-09-community-p4-prefill-roofline/p4-roofline/results.json(+13291 -0)➕
bench/results/2026-10-09-community-p4-prefill-roofline/p4-roofline/roofs.jsonl(+45 -0)➕
bench/results/2026-10-09-community-p4-prefill-roofline/p4_prefill_runner.py(+58 -0)...and 2 more files
📄 Description
Independent P4 prefill measurements inspired by @vizdatom's #1670. Results-only: this does not implement or run the proposed layer-major path.
One Tesla P4, Flash-Next-GSQ-RCO IQ3_XXS, int8 KV, CUDA 12.0, dual Xeon E5-2697 v3. Base
fb58e0d. Warm page cache, zero prompt reuse, one generated token/request. Auto selected up to 1,792 tokens. Instrumented controls disable CPU expert sharing; matching fixed-512 controls were 77.928650/78.933397 tok/s.8K fixed-512 copied 262.788941 GB of expert weights, 30.871322 GB distinct (88.25% repeated payload). Auto copied 193.275469 GB. Measured pinned H2D bandwidth: 11.886827 GB/s; VRAM read: 147.402334 GB/s. Copy waits were 6.2% of the fixed-512 timeline; fewer bytes are not an equivalent wall-time gain.
Includes exact prompts/output IDs, all 16 request records, configs, logs, replay driver, bandwidth sources, analysis and chart. The opt-in 21-line counter patch is a reproduction artifact only; engine source is unchanged. CUDA tested; no HIP/SYCL build or multi-token quality gate. Model revision/full asset hashes were not recorded.
Full report: bench/results/2026-10-09-community-p4-prefill-roofline/README.md
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.