Files
hao-ai-lab-FastVideo/scripts/inference/inference_longcat.yaml
Davids048andClaude Fable 5.1 1ea7278c00 [refactor]: group model-family settings under pipeline.model
pipeline.model is a tagged union: a mapping with exactly one key, which
names the model family (ltx2, minimax_h3, longcat, or generic) and selects
that family's options class. The former sibling sections pipeline.ltx2,
pipeline.minimax_h3, and pipeline.longcat, and the DiT/VAE architecture
override dicts pipeline.dit and pipeline.vae, live inside the family block.
The parser implements tagged unions as a general mechanism (a dataclass
with a TAGS table); the family is readable as pipeline.model.family.

Resolution validates the tag against the family that the registry chose
for model_path (validate_model_family raises and names the registry class
and the right block) and fills the family's empty block when the input has
none (fill_model_family), so readers never see None. Family-only fills and
derivations (the MiniMax-H3 parallel-VAE environment variables, the LTX-2
tile-size derivation and refine preset copy, the LongCat BSA mirrors) run
only for their family.

Against the 3f6893a0 goldens every PipelineConfig is identical and no
other field differs beyond the allowed categories; family-only settings
are no longer decided on models of another family. LingBot-Video reads
its refiner switch from pipeline.preset_overrides.refine.enabled and loads
the refiner by default when the checkpoint has one, as at 3f6893a0.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CbSuTKA9oX4YsECdcBPAsX
2026-10-05 06:04:17 +00:00

45 lines
1.5 KiB
YAML

# Run with:
# fastvideo generate --config scripts/inference/inference_longcat.yaml
generator:
model_path: FastVideo/LongCat-Video-T2V-Diffusers
engine:
num_gpus: 1
parallelism:
tp_size: 1
sp_size: 1
offload:
dit: false
text_encoder: false
vae: false
pin_cpu_memory: false
pipeline:
model:
longcat:
enable_bsa: false
request:
prompt: >-
In a realistic photography style, a white boy around seven or eight years
old sits on a park bench, wearing a light blue T-shirt, denim shorts, and
white sneakers. He holds an ice cream cone with vanilla and chocolate
flavors, and beside him is a medium-sized golden Labrador. Smiling, the
boy offers the ice cream to the dog, who eagerly licks it with its tongue.
The sun is shining brightly, and the background features a green lawn and
several tall trees, creating a warm and loving scene.
negative_prompt: >-
Bright tones, overexposed, static, blurred details, subtitles, style,
works, paintings, images, static, overall gray, worst quality, low
quality, JPEG compression residue, ugly, incomplete, extra fingers,
poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen
limbs, fused fingers, still picture, messy background, three legs, many
people in the background, walking backwards
sampling:
seed: 42
num_frames: 93
height: 480
width: 832
fps: 15
num_inference_steps: 50
guidance_scale: 4.0
output:
output_path: outputs_video/longcat_t2v