temp / Helios /_DEV2 /scripts /inference /experiment_interactive /helios-distilled_t2v.sh
Cccccz's picture
Add files using upload-large-folder tool
315a949 verified
Raw
History Blame Contribute Delete
1.7 kB
# Example: Running inference with 2-GPU parallelism
# CUDA_VISIBLE_DEVICES=0,1 torchrun --nproc_per_node 2 infer_helios.py \
# --enable_parallelism \
# --cp_backend "ulysses" \ # ["ring", "ulysses", "unified", "ulysses_anything"]
CUDA_VISIBLE_DEVICES=0 python infer_helios.py \
--base_model_path "./checkpoints/Helios-Distilled" \
--transformer_path "./checkpoints/Helios-Distilled" \
--sample_type "t2v" \
--prompt "A vibrant tropical fish swimming gracefully among colorful coral reefs in a clear, turquoise ocean. The fish has bright blue and yellow scales with a small, distinctive orange spot on its side, its fins moving fluidly. The coral reefs are alive with a variety of marine life, including small schools of colorful fish and sea turtles gliding by. The water is crystal clear, allowing for a view of the sandy ocean floor below. The reef itself is adorned with a mix of hard and soft corals in shades of red, orange, and green. The photo captures the fish from a slightly elevated angle, emphasizing its lively movements and the vivid colors of its surroundings. A close-up shot with dynamic movement." \
--num_frames 1452 \
--guidance_scale 1.0 \
--is_enable_stage2 \
--pyramid_num_inference_steps_list 2 2 2 \
--is_amplify_first_chunk \
--enable_compile \
--interpolation_steps 3 \
--interactive_prompt_csv_path "example/prompt_interactive_helios.csv" \
--interpolate_time 7 \
--output_folder "./output_helios/helios-distilled"
# --enable_low_vram_mode \
# --group_offloading_type "leaf_level" \ # ["leaf_level", "block_level"]
# --num_blocks_per_group
# --pyramid_num_inference_steps_list 1 1 1 \