Repository navigation
feat(box): add Ascend 910B1 vLLM-Omni T2VA pilot runner and offline receipt auditor #972
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
23adc49
979657e
377a7b7
d79299f
3ab9207
558db52
d18d019
7376c14
458fd85
ece82fe
b78ca63
2da0ae5
3db745c
7ceb103
64214dd
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| # box-vllm-omni-910b1-937 | ||
|
|
||
| Device qualification evidence for InferRSI #937 (Box hot patching for the | ||
| vLLM-Omni diffusion pipeline on Ascend NPU). | ||
|
|
||
| - Acceptance issue and owner: https://github.com/InferMatrixLab/InferRSI/issues/937, @Dong1017 | ||
| - Goal: single-stage single-card eager MiniMax-H3 Base T2VA through | ||
| `/v1/videos/sync`, with a resident instance hot-patched, rolled back and | ||
| compared against independent cold starts. | ||
| - Verdict: PASS on one exclusive Ascend 910B1 card; multi-card, multi-stage | ||
| and ACLGraph paths are out of scope. | ||
| - Every attempted arm: [results/trials.jsonl](results/trials.jsonl) | ||
| - Archive authority: [results/artifacts.json](results/artifacts.json) | ||
| - Verification contract: [validator/](validator/) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| # Patch | ||
|
|
||
| The candidate is a deliberate visible perturbation of the registered DiT | ||
| target: `x0 = xt + sigma_t * v` becomes `x0 = xt + sigma_t * v * 1.15`. | ||
|
|
||
| See [visible-source.diff](visible-source.diff). The no-op control installs the | ||
| same source unchanged, so it must reproduce the cold-parent output bit for bit. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| --- parent_source.py | ||
| +++ visible_source.py | ||
| @@ -69,7 +69,7 @@ | ||
| while cond_t.ndim < xt.ndim: | ||
| cond_t = cond_t.unsqueeze(-1) | ||
| sigma_t = 1 - cond_t | ||
| - x0 = xt + sigma_t * v | ||
| + x0 = xt + sigma_t * v * 1.15 | ||
| _require_finite_tensor(x0, "x0") | ||
| return x0 | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # Plan | ||
|
|
||
| Frozen capture of the #937 device pilot baseline: image identity, package and | ||
| source revisions, model index digest, single-stage eager topology, registered | ||
| DiT call sites, frozen request fields, the frozen on-path call count and the | ||
| cold-to-cold parity rule derived from two independent cold starts. | ||
|
|
||
| See [effective.json](effective.json). |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,86 @@ | ||
| { | ||
| "device": "Ascend 910B1 (64 GiB HBM), single exclusive card, host driver 25.5.0", | ||
| "expected_on_path_calls": 8, | ||
| "image": { | ||
| "id": "sha256:3babf8fbcd19e7a48009ad7f5273ebe007efade8f5c9c7023b72b96bb07e5b88", | ||
| "reference": "dxw/vllm-omni-npu:v0.34.0-recipe" | ||
| }, | ||
| "issue": "https://github.com/InferMatrixLab/InferRSI/issues/937", | ||
| "model": { | ||
| "index": "FL2VA/model_index.json", | ||
| "model_index_sha256": "d1113e0f123c69f79cd0de35ca1771606ebc3ec924270d257b771f96f584aa6b", | ||
| "path": "$MODEL/MiniMax-H3" | ||
| }, | ||
| "parity_rule": { | ||
| "audio_duration_abs_diff_s": 0.0, | ||
| "audio_max_abs_diff": 0.0, | ||
| "audio_mean_abs_diff": 0.0, | ||
| "cold_pair_count": 1, | ||
| "mode": "exact", | ||
| "observed_cold_spread": { | ||
| "audio_duration_abs_diff_s": 0.0, | ||
| "audio_max_abs_diff": 0.0, | ||
| "audio_mean_abs_diff": 0.0, | ||
| "video_duration_abs_diff_s": 0.0, | ||
| "video_max_abs_diff": 0, | ||
| "video_mean_abs_diff": 0.0, | ||
| "video_timestamp_max_abs_diff_s": 0.0 | ||
| }, | ||
| "video_duration_abs_diff_s": 0.0, | ||
| "video_max_abs_diff": 0, | ||
| "video_mean_abs_diff": 0.0, | ||
| "video_timestamp_max_abs_diff_s": 0.0 | ||
| }, | ||
| "request": { | ||
| "aspect_ratio": "16:9", | ||
| "audio_flow_shift": 3.0, | ||
| "extra_params": { | ||
| "duration": 4.0, | ||
| "task": "t2va" | ||
| }, | ||
| "flow_shift": 12.0, | ||
| "fps": 24, | ||
| "height": 384, | ||
| "num_inference_steps": 4, | ||
| "prompt": "In a snowy blue-purple forest, Ori carefully walks past a sleeping giant; footsteps crunch in the snow while the creature breathes and softly snorts.", | ||
| "seed": 1101, | ||
| "width": 672 | ||
| }, | ||
| "software": { | ||
| "av": "19.0.2", | ||
| "cann": "9.3.0", | ||
| "mindiesd": "3.3.0", | ||
| "platform": "Linux-5.10.0-182.0.0.95.r3582_286.hce2.aarch64-aarch64-with-glibc2.35", | ||
| "python": "3.12.13", | ||
| "torch": "2.10.0+cpu", | ||
| "torch-npu": "2.10.0.post7", | ||
| "vllm": "0.34.0+empty", | ||
| "vllm-ascend": "0.19.1rc2.dev3635+g19c063b54", | ||
| "vllm-omni": "0.34.0+npu" | ||
| }, | ||
| "source_revisions": { | ||
| "vllm": "62d4bc3c7e33b1b6c906e233e6af2d3506c482ca", | ||
| "vllm-ascend": "19c063b5471f90e158e163d27c2e0cc54af1700e", | ||
| "vllm-omni": "06a28821a7f72bdb436c3df656b10f67fded0846" | ||
| }, | ||
| "targets": { | ||
| "off_path": "vllm_omni.diffusion.models.minimax_h3.scheduling_minimax_h3_euler_ancestral:MiniMaxH3EulerAncestralEta0SchedulerAdapter.step_denoising", | ||
| "on_path": "vllm_omni.diffusion.models.minimax_h3.scheduling_minimax_h3_euler_ancestral:minimax_h3_rf_v_to_x0" | ||
| }, | ||
| "topology": { | ||
| "diffusion_attention_backend": "FLASH_ATTN", | ||
| "diffusion_offload_config": { | ||
| "components": [ | ||
| "dit", | ||
| "text_encoder" | ||
| ], | ||
| "mode": "layer" | ||
| }, | ||
| "diffusion_use_graph": false, | ||
| "distributed_executor_backend": "mp", | ||
| "enforce_eager": true, | ||
| "num_gpus": 1, | ||
| "stage_id": 0, | ||
| "task_type": "fl2va" | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # Results | ||
|
|
||
| Six arms from the v6 run on one exclusive Ascend 910B1 card. The hardened | ||
| offline auditor reports `verified: true` with `rollback_verdict: pass`, 19 | ||
| checks and eight decoded media comparisons; cold-to-cold parity is `exact`. | ||
|
|
||
| - [summary.json](summary.json) | ||
| - [trials.jsonl](trials.jsonl) | ||
| - [receipt_index.json](receipt_index.json): SHA-256 of every published file | ||
| - [full_audit.json](full_audit.json): auditor output for the archive | ||
| - [core-integrity.json](core-integrity.json): SHA-256 of the retained files | ||
| - [artifacts.json](artifacts.json): archive authority | ||
|
|
||
| `receipt_index.json` is written last, after `trials.jsonl` and `summary.json` are | ||
| final for the published `--archive-id`. A replay that rewrites those files | ||
| requires rebuilding the index and publishing a new archive version. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,66 @@ | ||
| { | ||
| "archive": { | ||
| "bytes": 20798661, | ||
| "file": "box-vllm-omni-910b1-937-v3.tar.gz", | ||
| "files": 42, | ||
| "format": "tar+gzip", | ||
| "id": "box-vllm-omni-910b1-937-v3", | ||
| "key_files": { | ||
| "configuration": "box-vllm-omni-910b1-937/hot/evidence.json", | ||
| "control": "box-vllm-omni-910b1-937/receipt_index.json", | ||
| "validator": "box-vllm-omni-910b1-937/audit_pilot.py" | ||
| }, | ||
| "retention_owner": "Dong1017", | ||
| "root": "box-vllm-omni-910b1-937", | ||
| "sha256": "0dc328f1b1fdf23e4d6f62ed51c0c8049d187c352576a647c5ed1e92a5ae3e3f", | ||
| "source_revision": "d79299f9c9c73ec759738b8f1d7f30776d447cd1", | ||
| "uncompressed_bytes": 21331532, | ||
| "url": "https://github.com/Dong1017/OmniRSI/releases/download/evidence-pr937-box-omni-910b1-v3/box-vllm-omni-910b1-937-v3.tar.gz" | ||
| }, | ||
| "availability_limits": [ | ||
| "Archive media and runtime logs are published as a Dong1017 fork Release asset; verify bytes with tools/verify_evidence_archive.py --download.", | ||
| "The model weights, the Ascend host and the original container remain outside the public bundle." | ||
| ], | ||
| "retention_policy": "Dong1017 keeps one Release asset per archive version retrievable while #937 references it; v1 stays published for the previous revision and any rerun publishes a new version.", | ||
| "schema_version": 2, | ||
| "verification": { | ||
| "absolute_tolerance": 0, | ||
| "command": [ | ||
| "python", | ||
| "box-vllm-omni-910b1-937/audit_pilot.py", | ||
| "--root", | ||
| "box-vllm-omni-910b1-937", | ||
| "--output", | ||
| "box-vllm-omni-910b1-937/full_audit.json", | ||
| "--results-dir", | ||
| "box-vllm-omni-910b1-937/results", | ||
| "--index-out", | ||
| "box-vllm-omni-910b1-937/receipt_index.json", | ||
| "--archive-id", | ||
| "box-vllm-omni-910b1-937-v3", | ||
| "--expected-calls", | ||
| "8" | ||
| ], | ||
| "inputs": [ | ||
| { | ||
| "path": "box-vllm-omni-910b1-937/receipt_index.json", | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 这个 control 的文件摘要本身对得上,但它索引的不是最终发布包:
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed at head d18d019. The public index is now generated from the exact published archive: 40 rows covering every member except full_audit.json and the index itself, and a check that each row resolves to an archive member at the recorded size and SHA-256 passes with zero mismatches. The pre-redaction run index (76 rows) stays with the raw run and is not published; results/artifacts.json records the new control digest and the archive bytes. tools/verify_evidence_archive.py --download --recomputed now returns content: verified and outputs_match. |
||
| "role": "control", | ||
| "sha256": "9d55e9a2e6c07f7b1136e6b1d55ab5b0ebfdb7b9a6f8d5fb1fa98a8fe7c94051" | ||
| }, | ||
| { | ||
| "path": "box-vllm-omni-910b1-937/hot/evidence.json", | ||
| "role": "configuration", | ||
| "sha256": "e489b8bb79e8e49eeba52a6211423a02a5ab2541675a15a32199b95130eda300" | ||
| }, | ||
| { | ||
| "path": "box-vllm-omni-910b1-937/audit_pilot.py", | ||
| "role": "validator", | ||
| "sha256": "3a1af5353981ad8304d35c1758b50a824c595d65a10259749fcef9d23d192184" | ||
| } | ||
| ], | ||
| "receipt_index": "receipt_index.json", | ||
| "relative_tolerance": 0, | ||
| "summary": "results/summary.json", | ||
| "trials": "results/trials.jsonl" | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "plan/effective.json": "1a3d444baf2c1c843bddfbf374dcdc8828cd8f6ef3ff6233134d6349e0e38b39", | ||
| "results/full_audit.json": "8e810827c9be10013a90431488b0feb183bec370f4ff4678625bbf473c264a59", | ||
| "results/receipt_index.json": "9d55e9a2e6c07f7b1136e6b1d55ab5b0ebfdb7b9a6f8d5fb1fa98a8fe7c94051", | ||
| "results/summary.json": "e16c8c9e7eb033774c5a41aad1c1ecc04a7e0e6ffce1b4d82f0ee3ff1cb4d141", | ||
| "results/trials.jsonl": "e7f19de881e54a881adc8dc567100bdceef94f942d72225decf4ea9b5ddec6f4" | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codex, acting for @amy-why-3459.
The validator README starts the reader inside the extracted bundle. From there, this argument makes the auditor look one directory too deep for
cold-parent-1/evidence.json. I reproduced the failure with the reviewed checkout on the import path and PyAV installed. Running from the bundle's parent reproduced all four shipped outputs byte for byte when I kept this relative root and prefixed the script and all three output paths with the bundle directory. Please publish that working invocation in both the manifest and validator README, include the import prerequisites, and exercise the literal command after a clean extract.