fastvideo.v1.configs.pipelines.hunyuan#

Module Contents#

Classes#

FastHunyuanConfig

Configuration specifically optimized for FastHunyuan weights.

HunyuanConfig

Base configuration for HunYuan pipeline architecture.

PromptTemplate

Functions#

Data#

API#

class fastvideo.v1.configs.pipelines.hunyuan.FastHunyuanConfig[source]#

Bases: fastvideo.v1.configs.pipelines.hunyuan.HunyuanConfig

Configuration specifically optimized for FastHunyuan weights.

flow_shift: int[source]#

17

class fastvideo.v1.configs.pipelines.hunyuan.HunyuanConfig[source]#

Bases: fastvideo.v1.configs.pipelines.base.PipelineConfig

Base configuration for HunYuan pipeline architecture.

dit_config: fastvideo.v1.configs.models.DiTConfig[source]#

‘field(…)’

embedded_cfg_scale: int[source]#

6

flow_shift: int[source]#

7

postprocess_text_funcs: Tuple[Callable[[fastvideo.v1.configs.models.encoders.BaseEncoderOutput], torch.tensor], ...][source]#

‘field(…)’

precision: str[source]#

‘bf16’

preprocess_text_funcs: Tuple[Callable[[str], str], ...][source]#

‘field(…)’

text_encoder_configs: Tuple[fastvideo.v1.configs.models.EncoderConfig, ...][source]#

‘field(…)’

text_encoder_precisions: Tuple[str, ...][source]#

‘field(…)’

use_cpu_offload: bool[source]#

True

vae_config: fastvideo.v1.configs.models.VAEConfig[source]#

‘field(…)’

vae_precision: str[source]#

‘fp16’

fastvideo.v1.configs.pipelines.hunyuan.PROMPT_TEMPLATE_ENCODE_VIDEO = <Multiline-String>[source]#
class fastvideo.v1.configs.pipelines.hunyuan.PromptTemplate[source]#

Bases: typing.TypedDict

crop_start: int[source]#

None

template: str[source]#

None

fastvideo.v1.configs.pipelines.hunyuan.clip_postprocess_text(outputs: fastvideo.v1.configs.models.encoders.BaseEncoderOutput) torch.tensor[source]#
fastvideo.v1.configs.pipelines.hunyuan.clip_preprocess_text(prompt: str) str[source]#
fastvideo.v1.configs.pipelines.hunyuan.llama_postprocess_text(outputs: fastvideo.v1.configs.models.encoders.BaseEncoderOutput) torch.tensor[source]#
fastvideo.v1.configs.pipelines.hunyuan.llama_preprocess_text(prompt: str) str[source]#
fastvideo.v1.configs.pipelines.hunyuan.prompt_template_video: fastvideo.v1.configs.pipelines.hunyuan.PromptTemplate[source]#

None