Skip to content

feat: add native HY-Motion-1.0 inference - #1752

Open
LancelottJ wants to merge 7 commits into
ModelTC:mainfrom
LancelottJ:feat/hymotion-a100-20261124
Open

LancelottJ wants to merge 7 commits into
ModelTC:mainfrom
LancelottJ:feat/hymotion-a100-20261124

Conversation

@LancelottJ

@LancelottJ LancelottJ commented Nov 24, 2026 •

Copy link
Copy Markdown

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 565c8b1c80f9f7ef74a7827fc82074ce672d49ab accepts the supplied user input and produces a valid output; the result is byte-identical to the earlier BF16 CLI check at 0f87be465bbc0b2edfe93602186499c686a273f5. 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.

@LancelottJ
LancelottJ force-pushed the feat/hymotion-a100-20261124 branch from fdc1ed7 to d4fb92b Compare November 24, 2026 09:46
@LancelottJ LancelottJ changed the title feat: add native HY-Motion-1.0 inference on A100 Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants