Files
Kaiqin Kongandmergify[bot] 773d44b875 [misc] Rename MatrixGame to MatrixGame2 (#1357)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2026-05-17 22:57:03 -07:00

34 lines
821 B
Python

# SPDX-License-Identifier: Apache-2.0
"""Matrix-Game 2.0 pipeline presets."""
from fastvideo.api.presets import InferencePreset, PresetStageSpec
_DENOISE_STAGE = PresetStageSpec(
name="denoise",
kind="denoising",
description="Causal denoising pass",
allowed_overrides=frozenset({
"num_inference_steps",
"guidance_scale",
}),
)
MATRIXGAME2_I2V = InferencePreset(
name="matrixgame2_i2v",
version=1,
model_family="matrixgame",
description="Matrix-Game 2.0 I2V",
workload_type="i2v",
stage_schemas=(_DENOISE_STAGE, ),
defaults={
"height": 352,
"width": 640,
"num_frames": 57,
"fps": 25,
"guidance_scale": 1.0,
"num_inference_steps": 3,
"negative_prompt": "",
},
)
ALL_PRESETS = (MATRIXGAME2_I2V, )