Add Pika H3 Flex (MiniMax-H3 plus the released fl2va/ref2va rank-128 adapters) as a FastVideo model family: registry/config/presets, bucket geometry with tiered reference sizing, automatic adapter selection and manifest validation, the fixed six-forward re-noise sampler, T2VA/I2VA/L2VA/FL2VA/Ref2VA pipeline support, an example, docs, and CPU unit tests. GPU end-to-end validation is still pending. This change does not add PDD, VSA, or new kernel paths.
25 lines
578 B
Python
25 lines
578 B
Python
# SPDX-License-Identifier: Apache-2.0
|
|
"""Sampling defaults for Pika H3 Flex."""
|
|
|
|
from dataclasses import dataclass
|
|
|
|
from fastvideo.api.sampling_param import SamplingParam
|
|
|
|
|
|
@dataclass
|
|
class PikaH3FlexSamplingParam(SamplingParam):
|
|
"""Six re-noise forwards, no guidance, and the 768p bucket by default."""
|
|
|
|
num_inference_steps: int = 6
|
|
guidance_scale: float = 1.0
|
|
batch_cfg: bool = False
|
|
negative_prompt: str = ""
|
|
height: int = 768
|
|
width: int = 1344
|
|
num_frames: int = 124
|
|
fps: int = 24
|
|
seed: int = 0
|
|
|
|
|
|
__all__ = ["PikaH3FlexSamplingParam"]
|