Skip to content

[VideoGenX] measure requests and validate generated media / [VideoGenX] 测量请求并校验生成媒体 - #4658

Merged
edwingao28 merged 47 commits into
mainfrom
feat/videogenx-measurement-core
Nov 5, 2026
Merged

edwingao28 merged 47 commits into
mainfrom
feat/videogenx-measurement-core

Conversation

@edwingao28

@edwingao28 edwingao28 commented Oct 29, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Measure each video request from submission to fully decoded media, so an incomplete clip never counts as delivered. The client retains payloads, warmup/measured identity, failures and delivery timing, and decodes every frame and audio sample. Run comparison and a pinned Diffusers reference report aligned PSNR and audio differences.

Evidence Meaning
Delivery record + full decode Request completion and technical media validity
Aligned PSNR/audio differences Numerical distance, not semantic quality

Testing: CPU CI and video harness pass at 6ce7cd7e. The #2916 sweep validated all 40 measured clips on H100 and B200. Stacked on #4657.

AI model disclosure
  • Model/version: claude-opus-5-5 and claude-fable-5-1 for this revision; earlier commits could not be verified.
  • Role: implementation, review fixes and PR text.
PR checklist and change type

Type of Change

  • Bug fix
  • New feature
  • Configuration change
  • Documentation update
  • Other (please describe)

Checklist

  • I have completed the AI model disclosure and kept it current
  • I have tested my changes locally
  • I have updated documentation if necessary
  • If python -m infx.matrix.changed --base origin/main lists affected config keys, I have appended one new entry covering them to the physical end of inferencex-e2e/perf-changelog.yaml; if it lists none, I have added none. I have not edited historical entries
  • If this PR appends an inferencex-e2e/perf-changelog.yaml entry, it carries exactly one primary sweep label (a maintainer applies it on fork PRs): full-sweep-fail-fast (recommended), full-sweep-enabled, or non-canary-full-sweep-enabled. Optional modifiers all-evals, evals-only, and agentx-fast require a primary label; the last two block reuse while applied.
  • Before merging via reuse, an authorized maintainer (OWNER/MEMBER/COLLABORATOR) has commented /use <run_id> (or the legacy /reuse-sweep-run) on this PR. Do this only once there is a final full sweep that is all green with evals passing, since after this comment the primary sweep label will no longer automatically kick off new sweeps. Remove and re-add the primary sweep label to force a new sweep.
中文

从提交请求一直测量到媒体完整解码,未完整交付的视频片段不会计为已交付样本。客户端保留每个请求的 payload、warmup/测量身份、失败信息和交付耗时,并解码每一帧视频和每个音频采样。run 对比和固定版本的 Diffusers 参考输出会报告对齐后的 PSNR 和音频差异。

证据 含义
交付记录 + 完整解码 请求完成情况和媒体技术有效性
对齐后的 PSNR/音频差异 数值距离,不代表语义质量

测试: 6ce7cd7e 的 CPU CI 和 video harness 均通过。#2916 的扫描校验了 H100 和 B200 上全部 40 个测量片段。基于 #4657。

AI 模型:本次修改使用 claude-opus-5-5 和 claude-fable-5-1,负责实现、review 修复和 PR 文案;更早的提交无法确认所用模型。

@edwingao28
edwingao28 force-pushed the feat/videogenx-measurement-core branch from c659df9 to d9353c8 Compare November 3, 2026 09:53
@edwingao28
edwingao28 marked this pull request as ready for review November 3, 2026 18:55
@edwingao28
edwingao28 requested a review from a team November 3, 2026 18:55
@claude

claude Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @edwingao28's task in 2m 46s —— View job


PR #4658 review

  • Gather context (diff vs origin/feat/videogenx-workload-contract)
  • Review evaluator code for bugs (runner, media, compare, serving, runtime_timing, reference, report, cli)
  • Run tests: not run, because this job's permissions blocked uv run pytest. The PR says CPU CI passed at d9353c82.
  • Post findings

Summary: One 🟡 warning (inline on runtime_timing.py:180-183). If a run has a timed-out, transport-failed or interrupted request, verify_evidence rejects the whole bundle. The client stores a partial server-timing snapshot when it gives up, but the server keeps writing the rest of that request's events. Verification then compares against the final ledger, so the two never match. Delivery, decoding and comparison look correct: incomplete or misaligned media never produces comparison metrics, failed slots stay in the denominator, and plan, artifact and configuration hashes are checked again when runs are compared. This PR changes only experimental/video-generation/, so no perf-changelog.yaml entry is needed.

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Findings marked 🟡 are optional suggestions and need no follow-up push.

Comment thread video-generation/evaluator/cli.py Resolved
Base automatically changed from feat/videogenx-workload-contract to main November 5, 2026 20:17
@edwingao28
edwingao28 merged commit fb01c11 into main Nov 5, 2026
5 checks passed
@edwingao28
edwingao28 deleted the feat/videogenx-measurement-core branch November 5, 2026 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant