Repository navigation
xpu: reuse Qwen4 TFQ Ultra BF16 panels across two prompt rows on B70 - #7
Draft
supernovae wants to merge 5 commits into
Draft
supernovae wants to merge 5 commits into
supernovae wants to merge 5 commits into
Conversation
# Conflicts: # CHANGELOG.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
Refs ashhart#6466. This fork draft stacks on the official Ultra serving PR at
b5988064def8b21e45e81ea5860c69c5d7c31ea0. Review head695ac4d608d752a550f07e46205cd180ff132bd9. The device experiment used source455dcfa5529035d3435b7fcbae7a2ac170219763and baseline819a2dcbdb563c101d4266d178c4945fa00bf2ea. Incremental comparisonBenchmark
At TP4 the paired cold TTFT comparisons for 2,048-token prompts were 11.379 → 7.839 s and 10.985 → 8.042 s. These are means of the two 2,048-token requests on each fresh server, after a 129-token input. Both comparisons used disabled prefix caching, 64-row chunks and 16 output tokens. Every output count and hash matched. The candidate preserves each row’s reduction order and uses the existing dispatch for single-row decode and odd tails.
Four PCIe Arc Pro B70s, Level Zero, the official Ultra 4.50 checkpoint, plain greedy serving and 64-row chunks. The receipt includes hardware, build settings, server and client commands, the individual arm results, output hashes and cache accounting. Hardware receipt
Kernel checks
The native tests, Zig format, whitespace and PR checks passed on the B70 branch with zero new lean findings. The backend image changes are confined to XPU.
Coordination
The paginated upstream scan covered all 442 open PRs at scan time. ATC reported partial coverage. Trial merges found no additional conflicting source paths in the reviewed upstream overlap candidates relative to Ultra. The optimization is separate from the upstream per-pack support stack. The public issue tracks the upstream acceptance gate.
Extended hardware benchmarks
The standalone paired dense candidate completed the full cache-disabled 65,536-token-capacity sweep on TP4. Each input generated 16 tokens and matched the baseline count and hash. Effective input throughput includes time to the first generated token.
Raw benchmark data and commands
Standard receipt coverage
On the Ultra baseline and the packed-decode candidate, the public
logprobs_longchat prompt returned both requested tokens with HTTP 200 in a two-token streaming control. Withlogprobs=true, top_logprobs=1both servers returned HTTP 400, “logprobs are not supported by this model or backend.” The full 16,384-output-token logprob workload therefore remains open for the native TFQ lane. The benchmark tables above use the standard greedy clients. The separate FP8 logprob implementation is tracked in #6434.Landed checkpoint integration
The refreshed Ultra parent includes ashhart#6372 and ashhart#6426. The incremental performance patch preserved all added and removed source lines. On this revision the native build passed 101 steps and 40 focused host tests. A fresh TP4 server passed all 11 independent Ultra streams. The live device contract exited 0.
Independent upstream PRs ashhart#3671 also edit the optimization ledger. Preserve the measured B70 receipt link and the other backend values when those ledger rows meet. The incremental native source had no additional trial-merge conflicts relative to Ultra.