Repository navigation
feat: add native HY-Motion-1.0 inference - #1752
Open
LancelottJ wants to merge 7 commits into
Open
LancelottJ wants to merge 7 commits into
LancelottJ wants to merge 7 commits into
Conversation
LancelottJ
force-pushed
the
feat/hymotion-a100-20261124
branch
from
November 24, 2026 09:02
502c990 to
fdc1ed7
Compare
LancelottJ
force-pushed
the
feat/hymotion-a100-20261124
branch
from
November 24, 2026 09:46
fdc1ed7 to
d4fb92b
Compare
…f optional packages
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.
Adds user-facing HY-Motion-1.0 text-to-motion on a single NVIDIA A100 or MetaX C500. Users supply a text prompt and receive a motion NPZ through the standard runner and per-platform launchers. Weights and inference functions are separated and reuse registered LightX2V operators. The MetaX C500 entry is implemented and validated below; see the platform documentation for the other hardware entries.
Precision: Qwen3, CLIP and Motion MMDiT matrix/attention computation use BF16. Normalization, time/RoPE frequencies, CFG/Euler integration, motion statistics and skeleton/rotation postprocessing retain FP32.
Scope: model inference, its shared operator bindings, configs, installation instructions and launchers only. Dataset manifests, accuracy metrics and latency measurement remain in separate evaluation PRs.
Validation for the BF16 update: Python syntax, Ruff, JSON parsing, shell syntax and diff checks pass. A real public CLI request on one A100 produced a finite 120-frame motion NPZ. Actual operator observations confirm BF16 main matrix/convolution outputs and the documented FP32 exceptions. GPU resource isolation, completion acknowledgement and process cleanup passed.
Complete BF16 A100 dataset quality and per-input end-to-end latency are published separately in #1759; dataset evaluation remains outside this inference PR.
BF16 A100 user-inference validation: the public CLI at
565c8b1c80f9f7ef74a7827fc82074ce672d49abaccepts the supplied user input and produces a valid output; the result is byte-identical to the earlier BF16 CLI check at0f87be465bbc0b2edfe93602186499c686a273f5. The main model path uses BF16 with the documented FP32 exceptions.Complete A100 dataset quality and per-input end-to-end measurements are published separately in #1759, with their exact measured inference/evaluator revisions and hashes. Subsequent platform commits are preserved; their short CLI checks are not described as full-dataset remeasurement. This inference PR contains no dataset harness or accuracy/latency evaluation code.
MetaX C500: the public text-to-motion CLI produced a finite 120-frame NPZ with the expected motion fields. Main matrix/attention work remains BF16 with the original FP32 exceptions. The MetaX environment and launcher are separate; original A100, MLU and Ascend configuration/launcher files are preserved. Full-dataset evaluation belongs to #1759.
Validated environment: Python 3.10, PyTorch 2.8.0+metax3.5.3.9, MACA SDK 3.5.3.18 on MetaX C500. An isolated image recipe and MetaX installer are included; no datasets or evaluation harness are added to this inference PR.
Post-platform-update CLI validation at
20b921abf707fca620e83c28f72ab7fe31898ce1: the public MetaX CLI output is byte-identical to the earlier C500 user-inference check, and actual operator dtype counts are unchanged. Shared-platform updates preserve the MetaX BF16 path and documented FP32 exceptions. Complete dataset measurements remain in the separate evaluation PR with their exact measured revisions.Ascend NPU support: HY-Motion inference
Real text-to-motion CLI output validated as a finite, 120-frame NPZ. Original motion decoding and smoothing are retained.
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.
Validation includes real NPU inference, dtype audits, and scoped precision/operator checks. This does not establish numerical parity with A100.