Repository navigation
eval(hymotion): add HumanML3D quality and end-to-end latency - #1759
Open
LancelottJ wants to merge 32 commits into
Open
LancelottJ wants to merge 32 commits into
LancelottJ wants to merge 32 commits into
Conversation
…y with native inference
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.
Evaluates hymotion on the frozen complete datasets with per-input end-to-end latency and official/project-defined quality metrics. The default profile retains the original native/adapted comparison and its published results.
The independent BF16 profile pins the updated inference PR under
tools/evaluation/hymotion/configs/nvidia/bf16/. SelectLIGHTX2V_EVAL_PRECISION_PROFILE=bf16andcampaign --backend lightx2vin a fresh result directory. It evaluates the BF16 adapter once per input, with documented FP32 exceptions, full coverage and exclusive single-GPU/resource/cleanup checks. It makes no cross-precision exact-output or latency-ratio claim; metric networks and fixture selection are unchanged.Validation: the BF16 inference public CLI produced a valid output on A100, and the evaluation CPU protocol/profile tests pass. Complete BF16 A100 results and their exact measured revisions are recorded below. Earlier results remain labeled with their original source/precision.
This PR contains developer evaluation code/configs/results plus the existing shared resource observer. User inference stays in its separate model PR. No weights, raw model outputs, datasets, copied upstream repositories or machine-local paths are included.
Complete BF16 A100 measurement (independent of subsequent platform work):
Full BF16 results and provenance; per-input records are in the same directory. Exact measured evaluator revision:
f26ecbbc002b6f124650553f34577c825c8fd744; worker SHA256:30b0d08bb8e4289dcf55ebc5122879e515c347a97f83d3e10f26f4c092e499a1. Exact measured inference revision:0f87be465bbc0b2edfe93602186499c686a273f5. Later platform commits are preserved and are not relabeled as the code used for these A100 measurements. Check out the measured evaluator revision to reproduce these timings.Each formal input ran once, each dataset stayed on one fixed A100, all archived original resource-policy checks passed, and complete output hashes/provenance were verified. All 4,384 HumanML3D inputs are generated and timed; the original evaluator's 4,198 eligible references and 186 explicit reference-length exclusions remain separately recorded. Raw evidence manifest SHA256:
3e3a39fe86504a5061fc43e66b046ed86209eebbbb19dc12c4ba2a2374363d2c. No cross-precision exact-output or latency-ratio claim is made.Complete MetaX C500 BF16 HumanML3D results: all 4,384 inputs generated and timed; the original 4,198 eligible references are scored and 186 reference-length exclusions remain explicitly recorded. R-Precision top1/top2/top3 is 0.536922 / 0.743926 / 0.828013, FID 0.491118, Matching Score 2.807601 and Diversity 9.181853. Mean end-to-end is 2.841573 s and P95 3.103997 s.
Full MetaX results and exact measured revisions include per-input timing/output hashes and all 19 closed-capture audit fingerprints. Full coverage, output hashes, resource attribution and cleanup passed. The measurement retains its exact frozen evaluator revision; subsequent platform commits are preserved and are not relabeled as the code measured on MetaX.
The MetaX controller uses bounded dedicated workers and a separate non-root, read-only host-PID observer with dropped capabilities and no Docker socket. Existing A100 implementation/results and the other platform work are retained.
Validated environment: Python 3.10, PyTorch 2.8.0+metax3.5.3.9, MACA SDK 3.5.3.18 on MetaX C500.
Ascend NPU support: HY-Motion evaluation
Adds full HumanML3D evaluation (4,384 inputs), original eligibility rules and learned motion metrics, and end-to-end latency for every input.
Preserves the original BF16/FP32 computation boundaries, weights, sampling parameters, and existing NVIDIA/MLU/MetaX paths. NPU FP32 operations disable HF32 within their scoped execution. No A100 feature is removed.
The NPU campaign uses a pinned source manifest, one fixed physical card per dataset, bounded workers, continuous device/process attribution, verified cleanup, complete input coverage, and a separate original metric pass. Raw data, weights, runtime environments, and generated artifacts are excluded from this change.
Full-dataset NPU evaluation is complete. Numerical parity with A100 is not claimed.
Complete Ascend 910B2C BF16 measurement (original FP32 scopes retained):
Full results, measured revisions and evidence fingerprints include every formal input’s latency and output SHA. Independent verification checks complete coverage, output hashes, original metric aggregation, NPU process attribution and cleanup. Raw artifacts and device observations remain outside git. No native equality or A100 latency ratio is claimed.