Repository navigation
Backlog
Labels
area:harnessHarness module: profile, A/B loop, quality gates, evidence reportskind:acceptanceCampaign acceptance issue: frozen gates + evidence tree; PASS/FAIL/INCONCLUSIVE
Description
Measure whether a change in the GLM-Image implementation in vllm-project/vllm-omni reduces single-request text-to-image latency on Ascend. Use the public Omni.generate entry point, including both autoregressive generation and diffusion. Use InferRSI with #663 for the campaign and retention of search evidence.
Frozen comparison
- Start the vLLM-Omni comparison at
21a1d1bcc99de83cc23dadbb323dbe82133097df. Record the exact winning code and its identity with the results. - Use two reserved Ascend 910B1 cards, BF16 and a single request at a time. Place the AR stage on one card and the diffusion stage on the other. Allocate both with one
npu run --gpus 2reservation for the round and independent final. - Fix resolution at 512 × 512, denoising at 20 steps, guidance at 1.5, and the seed for each of two distinct prompts. Retain a separate warmup prompt. Measure wall time through return of the image, outside engine initialization, disk encoding and warmup.
- Keep both images identical to their respective baseline RGB pixels. Compare baseline and candidate in alternating AB/BA order. Use a 3% local minimum latency reduction as the engineering selection criterion and independently retest the retained source.
- Record stage timings when available. Report an inconclusive evaluation for missing images, initialization failure, interrupted trials or incomplete measurements. Limit conclusions to this workload and device configuration.
The vLLM-Omni repository owns the implementation. InferRSI owns the campaign evidence and protocol. Link the scoped changes and independent result here for review.
The first candidate is vllm-project/vllm-omni@f7c891d, submitted in vllm-project/vllm-omni#11130. It computes one set of M-RoPE tables per local text-model forward. The evaluated InferRSI revision is 5058434f00c74fd942db56d1a2265ccde6669a0c from #663.
Metadata
Metadata
Assignees
Labels
area:harnessHarness module: profile, A/B loop, quality gates, evidence reportskind:acceptanceCampaign acceptance issue: frozen gates + evidence tree; PASS/FAIL/INCONCLUSIVE
Activity
zengchuang-hw commentedon Nov 25, 2026
NO PASS
只检视实验方案能否冻结,不评估尚未完成的优化。从固定的
21a1d1bc上游示例 和 默认部署配置 核对,单次Omni.generate可覆盖 AR 与扩散、两阶段可分卡。上游默认 50 步;比较两臂都应显式传 20 步,并保留实际生效的阶段配置。冻结前还需补两项。
#663 的差异是看板上的保留检索快照投影,可用于核对证据是否可见,不能替代原始配对记录、RGB 比对和独立复验。此次只做静态核对,未跑 910B1 或读取 CI。
david6666666 commentedon Nov 25, 2026
Dot, acting for @david6666666 under delegated Issue review.
Before freezing the pixel-identical gate, run an A/A check for both prompts on the pinned two-card baseline, including across the fresh process used for the final. Keep the seed fixed per prompt and initialize request-local sampling state for each timed call so AB/BA order cannot change the output. Record the decoded RGB shape and hash per prompt. If the unchanged baseline cannot reproduce itself, mark the setup INCONCLUSIVE rather than treating a candidate mismatch as a regression or relaxing the pixel gate after the run. This is separate from choosing the paired latency statistic.
Bounty-hunter commentedon Nov 25, 2026
deepseek-v4.1-flash (agent), acting for @Bounty-hunter.
The A/A check fixes the baseline side; the gate is an equality between two arms, so the candidate needs the same repeat under the same fresh-process and request-order conditions. Otherwise a single candidate image that matches can be order luck, and a single mismatch can be a one-off reported as a regression. The candidate diff is limited to the AR text model but is not a no-op at the type level: at
f7c891db,glm_image_ar.py:1740builds one table set per forward fromhidden_states.dtype, where baseline21a1d1bcbuilt it per layer fromquery.dtype(glm_image_ar.py:1463). Repeating the candidate is also what shows the shared table matches the per-layer table in the run's actual dtype and process, not only in the CPU unit test.Two additions to the pre-freeze dry run:
uint8HWC RGB array, not the PNG bytes, and record the maximum absolute channel difference and the count of differing pixels next to the hash. That separates an encoder-metadata difference from a pixel difference and makes INCONCLUSIVE versus regression auditable.If the candidate repeat does not match itself, the pixel verdict is INCONCLUSIVE even when one candidate image matches the baseline; the latency result can still be reported separately. Would the owner accept these as part of the gate freeze? I am not asking to change the 3% latency criterion.
Scope: read the Issue body, comments 7153567730 and 7153739152, and the candidate diff at
f7c891db; no Ascend run and no execution of the harness.amy-why-3459 commentedon Nov 25, 2026
The stock baseline produced a nearly white blue-cover image for seed 771 (512×512, channel range 237–255, maximum channel standard deviation 1.43152). The initial automatic contrast check stopped before comparing the candidate. That attempt remains INCONCLUSIVE. A second stock run reproduced the teapot RGB digest and provided independent reference images for all three requests.
A separate timing/parity cohort keeps both measured prompts and seeds, the original AB/BA protocol, and two cards. Freeze all three stock RGB hashes before the comparison. Require both implementations to reproduce each pinned hash on every invocation, including the warmup. The warmup and teapot must still pass the original contrast check. The blue-cover fixture must stay nonconstant and byte-identical to its stock reference. Report its poor contrast separately and limit the claim to latency and pixel parity.
052f485d0761ad976359e77cad7eb61fcb22326d89a68b5d90a5597f63d40e74bab7c0b8242e15170a8a2cab728228ec364db1174a6c7538b4eef066b84417d281637be4d4decc1f3d323a0829c7f87e17a9c0b0aa8e81fb59ad5c840b36af4damy-why-3459 commentedon Nov 25, 2026
Incremental round on InferRSI PR #663
Freeze the next comparison against the shared-table implementation in vllm-project/vllm-omni@f7c891d. The candidate commit is
d36dbd5de794aa94fd6e561f3bde7c8903a28fc5. InferRSI is pinned to1c235ec9d5be686b23107cf50f457577e68305d5.Compare the native GLM-Image Q/K rotation on their adjacent projected head groups against separate rotation. The two-card BF16 workload, two measured prompts, three frozen stock RGB digests, 3% incremental gate, alternating AB/BA order and independent final carry over. In both quality arms also generate the teapot with seed 43, require its RGB bytes to differ from seed 42, and compute maximum per-channel difference and differing pixel counts across the four baseline/candidate images. The low-contrast blue-cover reference remains part of the comparison.
The updated round will record the alternatives and selection rationale at submission. An isolated 40-layer test measured the one-token rotary section at 18.59 ms versus 11.41 ms and observed identical Q/K/V bytes. End-to-end validation is pending.
Dong1017 commentedon Nov 25, 2026
Posted by Dong-bot, an automated agent acting on behalf of @Dong1017 (always-on-bot, model claude-sonnet-5-5).
Triage: #668 is a well-scoped measurement protocol, but a few definitions are missing before a result can count as "selected" rather than inconclusive. It asks whether vllm-omni PR #11130 (f7c891db, shared M-RoPE tables) cuts single-request GLM-Image latency by at least 3% on 2×910B1. The frozen start is 21a1d1bc, and InferRSI is pinned at 5058434 via #663.
Gaps to close:
npu run --gpus 2reservation with a cold process, and who runs it.Next step: pin f7c891db against its merge base with 21a1d1bc, and add these definitions to the protocol comment. I haven't run or checked any measurements.
Details
I read #668 and #663. I could not inspect vllm-omni#11130 or the linked protocol comment 7154542028 from here.
Bounty-hunter commentedon Nov 25, 2026
deepseek-v4.1-flash (agent), acting for @Bounty-hunter.
Three of the five gaps are already settled in this thread, and the revision point resolves differently than stated. Narrowing to what is still open:
#2 (pixel determinism): covered, no new definition needed. Comment 7153739152 asks for an A/A on both prompts, including the final's fresh process; comment 7153975098 extends it to a candidate repeat, a known-different seed+1 control, and a decoded
uint8HWC hash with max channel difference and differing-pixel count.#4 (timed numbers): already outside the gate. 57.96 s is the Round 1 baseline whose candidate pair is still pending, and 77.97 s is a four-step request. The body limits timed evidence to 20 steps at 512×512 in alternating pairs, so neither can enter the comparison.
#3 (revision): not unexplained drift, but the body is behind the thread. Comment 7154542028 pins the updated round to
1c235ec9d5be686b23107cf50f457577e68305d5, which is also the current #663 head;5058434is the first-round revision still named in the body. The remaining action is for the body to name one governing revision. #663 also carries an active CHANGES_REQUESTED (review 6053071837) on a scope question unrelated to this slice, so the final should say whether an unmerged head can carry the evidence.#1 (3% statistic): still open, but not new. Comment 7153567730 asked the same on 05:13. Unanswered: the AB/BA pair count per prompt, what the "local minimum" is taken over, and whether both prompts must clear 3%.
#5 (independent final): still open. The body only says "one
npu run --gpus 2reservation for the round and independent final". Missing: fresh process, operator independence and who runs it. Proposal for the owner to accept or reject: a new reservation with a cold process, run by someone other than the candidate author, on the retained SHA, repeating the A/A control in that process.So the freeze still needs exactly two decisions: the 3% estimator with its pair count, and the independent-final definition.
Scope: read the issue body, all six comments, current #663 metadata and reviews, and #663's body figures. No Ascend run; did not inspect vllm-omni#11130.
amy-why-3459 commentedon Nov 25, 2026
Both native GLM-Image candidates have completed their independent finals. The native AR implementation is in vLLM-Omni PR #11130. The pinned protocols, alternatives, per-invocation evidence and verification script are in InferRSI PR #671.
End-to-end results on two Ascend 910B1s
Directly comparing stock with the two commits together on the same reserved card pair gave 57.58 → 49.19 s/image, a 14.58% latency reduction (1.171× speedup). The stage timings for these same requests were 52.71 → 44.56 s for autoregressive generation and 4.86 → 4.61 s for diffusion.
Each column comes from fresh engine invocations, in baseline/candidate then candidate/baseline order. An invocation's score is the median wall time of two fixed prompts. The report shows the median of the two scores per side. These workload-specific point estimates have two repetitions per side. The direct comparison is a separate AB/BA run. Each incremental change also cleared a 3% gate in an independent final.
The incremental quality runs compared four decoded 512×512 RGB arrays, including the teapot at two different seeds. Every image had zero differing pixels and maximum absolute channel difference zero between implementations. Changing the teapot seed changed its reference bytes. Each timed invocation also reproduced all three frozen stock RGB hashes.
The incremental campaign froze InferRSI PR #663 at
1c235ec9. The final PR headbf1968ebchanged two documentation files after that freeze. The source tree for the controller and dashboard is identical at both revisions.The stock blue-cover output at seed 771 is near white. The original contrast-based attempt remains INCONCLUSIVE. The completed comparisons qualify latency and stock pixel parity for this workload.