[refactor]: name the model-family config partitions *Options
The schema class MiniMaxH3Config had the same name as the MiniMax-H3 DiT config class in fastvideo/configs/models/dits/minimax_h3.py. The family partitions of PipelineSelection are renamed LTX2Options, LTX2RefineOptions, MiniMaxH3Options, and LongCatOptions, so their names cannot be confused with the model and pipeline config classes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012M91wnVFmPEvJ9h39r5BH7
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
ecb15bf9e0
commit
991fa391ff
@@ -31,7 +31,7 @@ from fastvideo.api import (
|
||||
EngineConfig,
|
||||
GenerationRequest,
|
||||
GeneratorConfig,
|
||||
MiniMaxH3Config,
|
||||
MiniMaxH3Options,
|
||||
OffloadConfig,
|
||||
OutputConfig,
|
||||
ParallelismConfig,
|
||||
@@ -263,7 +263,7 @@ def build_generator_config(args: argparse.Namespace) -> GeneratorConfig:
|
||||
lora_path=getattr(args, "lora_path", None),
|
||||
lora_strength=float(getattr(args, "lora_strength", 1.0)),
|
||||
),
|
||||
minimax_h3=MiniMaxH3Config(
|
||||
minimax_h3=MiniMaxH3Options(
|
||||
sequential_load=args.h3_sequential_load,
|
||||
video_decode_backend=None if args.video_decode_backend == "h3-vae" else args.video_decode_backend,
|
||||
taeh3_checkpoint=args.taeh3_checkpoint,
|
||||
|
||||
Reference in New Issue
Block a user