Files
hao-ai-lab-FastVideo/scripts/inference/inference_wan_i2v.yaml
Davids048andClaude Opus 5.5 ecb15bf9e0 [refactor]: move repository configs and examples off pipeline.experimental
Every key that repository YAML configs, Python examples, the Dreamverse
backend, and tests passed through pipeline.experimental has a typed
GeneratorConfig field, so they use those fields instead:
engine.attention, engine.compile.regional, pipeline.flow_shift,
pipeline.embedded_cfg_scale, pipeline.dmd_denoising_steps,
pipeline.components.lora_nickname, pipeline.minimax_h3, and
pipeline.longcat. No repository config outside the tests uses
pipeline.experimental any more.

The flat FastVideoArgs keywords that each migrated YAML file and each
basic_fasth3.py option set produces match the previous ones. The golden
snapshots of the two Hunyuan scripts now record embedded_cfg_scale and
flow_shift as floats (6.0 instead of 6), because the typed fields are
floats. The guidance tensor is built as float32 either way. The golden case
untyped_experimental_keys is renamed attention_precision_and_flow_shift with
identical content, and keys_without_typed_fields covers keywords that still
go to pipeline.experimental.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012M91wnVFmPEvJ9h39r5BH7
2026-10-02 17:37:22 +00:00

43 lines
1.4 KiB
YAML

# Run with:
# fastvideo generate --config scripts/inference/inference_wan_i2v.yaml
generator:
model_path: Wan-AI/Wan2.1-I2V-14B-480P-Diffusers
engine:
num_gpus: 2
parallelism:
tp_size: 2
sp_size: 2
offload:
dit: true
vae: true
text_encoder: true
image_encoder: true
pin_cpu_memory: true
pipeline:
workload_type: i2v
flow_shift: 3.0
request:
prompt: >-
An astronaut hatching from an egg, on the surface of the moon, the
darkness and depth of space realised in the background. High quality,
ultrarealistic detail and breath-taking movie-like camera shot.
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
inputs:
image_path: https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/astronaut.jpg
sampling:
seed: 1024
num_frames: 77
height: 480
width: 832
fps: 16
num_inference_steps: 40
guidance_scale: 5.0
output:
output_path: outputs_i2v/