Skip to content

[VideoGenX Docs] add VideoGenX Standard v0.1: 13 result rules and what main enforces / [VideoGenX Docs] 新增 VideoGenX 标准 v0.1:13 条结果规则及 main 上的执行情况 - #5225

Open
edwingao28 wants to merge 14 commits into
mainfrom
chore/videogenx-standard-v0.1
Open

edwingao28 wants to merge 14 commits into
mainfrom
chore/videogenx-standard-v0.1

Conversation

@edwingao28

@edwingao28 edwingao28 commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Problem. The rules a VideoGenX result must meet are scattered across a shared working doc, video-generation/README.md, SUBMITTING.md and chat. A reviewer cannot tell which rules exist, which code checks each one, or which checks can refuse a result. One instance: main requires no status checks, so every check that runs on PR code is advisory and only Merge Ingest can refuse a result, and no doc says so.

Changes.

  • video-generation/STANDARD.md (new): VideoGenX Standard v0.1. It is English only, because the repo keeps Chinese translations for READMEs only. It has six parts:
    • Rules for a result: 13 rules, each with its reason and an owner. A result counts only when it meets all 13. Rule 1 says a released set never changes. A change to prompts, seeds or run counts adds the next release-v<N>, and a change to the model or a generation setting adds a new spec file. Wan2.2 is exempt from the encoding rule until it moves to spec schema 2.
    • Lossless tier: what may change (scheduling, weight placement, attention backends that compute in BF16) and what may not (any other precision, quantized attention, step caches, sparse attention, LoRA, reuse across requests). SGLang rows set --performance-mode speed.
    • Recorded, not gating: frozen-frame fraction, reference PSNR, and TF32-style matmul settings.
    • v0.1 deliverables: VLM judge calibration, engine coverage and workload size. These are project commitments and gate no single result.
    • Trust boundary: the three levels of code that check a result (PR code, InferenceX main, InferenceX-app main), what a merge requires, why Merge Ingest is the only InferenceX stage that can refuse a result, and what main does not re-check for a fork run.
    • Enforcement on main: per rule, the status, what the code on main checks, the open PRs and branches that add a check, and what is not checked. Only this part changes when a check lands.
  • README.md, README_zh.md: a short section that points to STANDARD.md and SUBMITTING.md. The intro now names both models, concurrency 1 and the per-model recipe directory.
  • SUBMITTING.md: links the standard instead of restating rules. The qualifying run is defined by matching recipe fingerprints and may come from any PR. The SGLang attestation bullet states what the attestation checks, not the whole lossless tier.

Status on main d2e96d8: 5 rules are Enforced (3, 4, 6, 10, 11), rule 5 is Enforced for H3 with Wan2.2 exempt, 6 are Partial (1, 2, 7, 9, 12, 13) and rule 8 is Not checked. Of the deliverables, engine coverage is Partial and the other two are not started.

Open work the table lists. None of it is on main yet, each item is described as planned, and its row needs a recheck when it merges:

Known v0.1 gaps the standard keeps visible: no code observes the image that actually ran; vLLM-Omni has no runtime evidence; for a fork run main re-checks bookkeeping only.

This is docs only. It changes no behavior and no config key, so it has no perf-changelog.yaml entry.

Testing.

  • Every file and function that Enforcement on main names exists on main d2e96d8, and each status was read from that code.
  • Every relative link and heading anchor in STANDARD.md resolves.

Limits.

  • Enforcement on main describes d2e96d8. A row changes only after the check it names lands on main.
  • The table names the check that owns each fact once the open work lands. So the rule 2 row does not cite today's serve-time digest format check, which that work removes.
  • CONTRIBUTING.md says the CODEOWNER approval requirement remains in effect. The ruleset on main does not require code-owner review, which is what Trust boundary states. This PR does not edit CONTRIBUTING.md.
  • The standard names files and functions, not line numbers.
  • The standard adds no enforcement.

Related PRs. The table cites these merged checks: #5212, #5213, #5215, #5216, #5217, #5219, #5237 and SemiAnalysisAI/InferenceX-app#1855. Earlier: #5180 (Wan2.2 layout GPU counts), #4862 (engine-log attestation), #5132 (recipe naming).

PR checklist and change type

Type of Change

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

Checklist

  • 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

edwingao28 and others added 9 commits November 19, 2026 22:54
- Status column: Enforced, Gap (G#) or Advisory instead of "In force";
  add an Open gaps list, G0 to G9.
- Rule 13: name submit_to_media_seconds and cite where it is written and
  read in InferenceX and the App.
- Scope and rule 3: a deployment runs only the GPU counts its config row
  lists; state the Wan2.2 layouts per GPU count.
- Re-pin the citations to main at 8dd3577; the cited files are unchanged.

中文:在视频标准中按规则标注“已执行”或“缺口”状态。状态列改为 已执行、缺口(G#)
或 参考,并新增 G0 至 G9 的待补缺口列表;规则 13 写明 submit_to_media_seconds
及其在 InferenceX 与 App 中的写入、读取位置;范围说明与规则 3 写明部署只跑配置行
列出的 GPU 数量,以及 Wan2.2 各 GPU 数量对应的并行布局;引用链接改为指向 main 的
8dd3577,被引用的文件没有变化。
- Intro: name the three Status values once.
- Scope line: do not repeat rule 3's GPU-count sentence.
- Rule 13: shorten the write and read sites.
- Open gaps: drop the sentence the intro already covers.

中文:精简视频标准中的重复表述。引言只列一次三种状态;范围说明不再重复规则 3 关于 GPU 数量的句子;规则 13 的写入与读取位置写得更短;“待补缺口”删去引言已说明的一句。
- Scope: vLLM-Omni is checked at recipe level (G2); Sol-Engine is not
  supported yet (G8).
- Intro: Wan2.2 is exempt from rule 5 until v0.2; adding a model under
  unchanged rules does not bump the version; add a Partial status.
- Rules 1, 2, 6 and 14 become Partial and name what is not checked.
- Rule 7: lossless only; SGLang depends on G3, G4 and #5181, vLLM-Omni is
  recipe-checked; the #5181 note moves out of the lossless tier.
- Rules 9, 15, 17 and 18 reworded; rule 19's derivation moves to
  specs/README.md.

中文:写明每条视频规则目前实际执行到什么程度、哪些仍待合并。范围:vLLM-Omni 只在配方层面检查(G2),Sol-Engine 尚未支持(G8)。引言:Wan2.2 在 v0.2 前不受规则 5 约束;规则不变时新增模型不升级版本号;新增“部分执行”状态。规则 1、2、6、14 改为部分执行并写明未检查的部分。规则 7:只发布无损结果;SGLang 依赖 G3、G4 与 #5181,vLLM-Omni 在配方层面检查;#5181 的说明移出无损档。规则 9、15、17、18 重写;规则 19 的推导移到 specs/README.md。
- G0, the Test Video Harness path filter, leaves the open-gaps list.
- Rule 7: the pending vLLM-Omni recipe check also refuses a default-on
  cache left at its default, such as H3's AdaLN cache.
- Rule 14: the recipe check runs once, in Merge Ingest, after the merge.
  A /use run may come from any PR when the recipe fingerprints match. A
  changed recipe that fails the check is already on main and nothing is
  published. The publication step names its pending branches. Status
  stays Partial.
- README_zh.md mirrors every change.

中文:删除 G0,并改写 VideoGenX 标准的规则 7 与规则 14。G0(Test Video Harness
路径过滤)不再列入待补缺口。规则 7:待合并的 vLLM-Omni 配方检查还会拒绝让默认开启的
缓存保持默认值的配方,例如 H3 的 AdaLN 缓存。规则 14:配方检查只在合并后的 Merge
Ingest 中做一次;配方 fingerprint 一致时,/use 可以复用任意 PR 的运行;未通过检查的
配方已在 main 上,但不会发布任何结果;发布环节写明了待合并的分支,状态仍为“部分执行”。
README_zh.md 同步全部改动。

@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.

Nothing blocking. The comments below are optional suggestions. There is no need to push a fix for them before merging.

Comment thread video-generation/README.md Outdated
| 12 | A deployment qualifies only when its warmup clip is valid, all 20 measured clips are valid (no failure tolerance) and its native power is valid. | The median is taken over the complete population. | [`runner.py:1124`][warmup] stops before measuring after a failed warmup; [`bench/video.py:28`][complete]; [`video_artifacts.py:140`][power] and [`video_artifacts.py:183`][population] at publication | Blocking | `@functionstackx` | Enforced |
| 13 | Latency per clip is `submit_to_media_seconds`: the time from submit until the finished MP4 is downloaded, including encoding and polling. Charts use the median over the valid measured clips; the warmup is not counted. | One definition for every engine. | Written at [`runner.py:1073`][latency]; median taken at [`serving.py:105`][median]; read per clip by the App at [`tradeoff.ts:93`][app-latency]. `summary.latency_median_seconds` ([`runner.py:750`][latency-summary]) is the median of a second field, `latency_seconds`, which the App uses only when a run has no per-clip value ([`tradeoff.ts:120`][app-fallback]) | Definition | `@functionstackx` | Enforced |
| 14 | The qualifying run is a full regular sweep whose video rows carry the same recipe fingerprints as the merged commit's video rows, and its `validate-video-results` job passes. A maintainer selects it with `/use <run_id>`; it may come from any PR. After merge the same run is published; nothing reruns on `main`. | The published number is the reviewed number. | [`plan.py:178`][append-only] rejects append-only; [`video_artifacts.py:76`][full-sweep] requires a full video sweep; [`reuse.py:234`][reuse-pinned] takes the run that `/use` names without requiring it to belong to the merged PR. The recipe check runs once, in Merge Ingest, after the merge ([`merge-ingest.yml:131`][merge-gate]). Today that step validates the reused run's bundles against that run's own sweep manifest, not against the merged commit. Pending `fix/vgx-merge-matrix-check`: the merged commit's video rows must carry the same recipe fingerprints as the reused run's sweep manifest. A changed recipe that fails this check is already on `main`, and nothing is published. Publication, pending InferenceX `fix/video-publication-selection` and InferenceX-app `fix/video-publication-selected-only`: the App approves only the artifacts Merge Ingest selected, and an entry counts only with a receipt that names a merge run. Also not complete: `validate-video-results` ([`run-sweep.yml:910`][validate-job]) is not a required check on `main` | Blocking | `@SemiAnalysisAI/core` | Partial |
| 15 | One eligible CODEOWNER posts the PR Review Checklist and a core maintainer approves. | Every rule change and result gets a second reviewer. | The `main` ruleset requires one approval from `@SemiAnalysisAI/core`. Gap: code-owner review is not required, and an admin merge bypasses the ruleset. G6 names the video owners in CODEOWNERS; closing the gap needs an admin ruleset change | Blocking | `@SemiAnalysisAI/core` | Gap (G6) |

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.

🟡 (optional) Contributors get two contradicting accounts of merge review after this lands. Rule 15 and G6 say code-owner review is not required on main. CONTRIBUTING.md:138 says the CODEOWNER approval requirement "remain[s] in effect unless bypassed by an authorized maintainer". One of the two is wrong, and SUBMITTING.md now points submitters to rule 15. Fix: check the actual main ruleset, then make rule 15, G6 and the README_zh.md mirror agree with CONTRIBUTING.md:138, or fix CONTRIBUTING.md:138 if the ruleset matches rule 15.

Why this was flagged

The new rule 15 row (video-generation/README.md:59) says in its Enforced-by cell: "Gap: code-owner review is not required, and an admin merge bypasses the ruleset." G6 (README.md:90) and README_zh.md:52 and :78 repeat this. CONTRIBUTING.md:138, which this row restates, says "GitHub's separate Core-team and CODEOWNER approval requirements remain in effect unless bypassed by an authorized maintainer." So a required code-owner approval is a fact in one doc and a gap in the other. The base had no such statement in video-generation. SUBMITTING.md:144 now cites rule 15 for the approval step, so submitters land on the conflicting text. The repo cannot show which is right because the ruleset lives in GitHub settings. AGENTS.md asks that the docs match the implementation. G6 is also hard to follow: it says it "names the video owners in CODEOWNERS", but .github/CODEOWNERS:32 already has video-generation/ @ functionstackx.

Verification: G6 says the same: "code-owner review is not required, and an admin merge bypasses the ruleset." CONTRIBUTING.md:138 says the opposite: "GitHub's separate Core-team and CODEOWNER approval requirements remain in effect unless bypassed by an authorized maintainer." Before this diff the repo had no rule 15 and no G6, so the contradiction is new.

@edwingao28 edwingao28 changed the title [VideoGenX Docs] add VideoGenX Standard v0.1: 19 rules with enforcement status / [VideoGenX Docs] 新增 VideoGenX 标准 v0.1:19 条规则及其执行状态 [VideoGenX Docs] add VideoGenX Standard v0.1: 13 result rules and what main enforces / [VideoGenX Docs] 新增 VideoGenX 标准 v0.1:13 条结果规则及 main 上的执行情况 Nov 24, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant