Repository navigation
feat: add native HY-Motion, SF3D and SDXL A100 inference - #1751
Closed
LancelottJ wants to merge 1 commit into
Closed
LancelottJ wants to merge 1 commit into
LancelottJ wants to merge 1 commit into
Conversation
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.
Superseded by three independent, directly mergeable model PRs:
Each new PR contains only its own model and required shared helpers. Standalone runtime, native-output parity, packaging, lint and all six merge orders have been checked.
Adds native inference for
tencent/HY-Motion-1.0(full),stabilityai/stable-fast-3d, andstabilityai/stable-diffusion-xl-base-1.0through the standard LightX2V runner and CLI. The new runners produce motion NPZ, single-image textured GLB, and text-to-image PNG outputs, respectively.Implementation
Scope
Based on main
e574493231fc019abe70f6e7727902ea45e59474. The only changes to existing upstream files are three entries inmodels/runners/registry.pyand model package-data declarations inpyproject.toml. All other additions are specific to these models, their shared bindings, setup documentation, configurations, launchers and regression checks. Existing framework files are not copied or replaced. No model checkpoints, datasets, generated outputs, local environments or machine-specific paths are included.Validation
Validated on NVIDIA A100-SXM4-40GB with PyTorch 2.6.0 / CUDA 12.4:
pre-commit run --all-files: passed all applicable upstream hooks.lightx2v.infer: completed and produced a byte-identical native PNG.SF3D comparisons use the same seed and deterministic-algorithm settings on both sides (
CUBLAS_WORKSPACE_CONFIG=:4096:8). A fixed seed alone does not make native CUDA UV/normal/tangent reductions deterministic. This validation uses samples, not a full-dataset benchmark. Quantization, parallelism, offload, CUDA graphs and feature caching are not implemented for these runners.Setup, checkpoint revisions and runnable commands: three-model guide, HY-Motion, SF3D, SDXL.