temp / Helios /scripts /inference /helios-base_t2v.sh
Cccccz's picture
Add files using upload-large-folder tool
24825d1 verified
Raw
History Blame Contribute Delete
812 Bytes
# 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-Base" \
--transformer_path "./checkpoints/Helios-Base" \
--sample_type "t2v" \
--num_frames 99 \
--fps 24 \
--prompt "A woman dancing." \
--guidance_scale 5.0 \
--enable_compile \
--output_folder "./output_helios/helios-base" \
# --enable_low_vram_mode \
# --group_offloading_type "leaf_level" \ # ["leaf_level", "block_level"]
# --num_blocks_per_group 4 \
# --use_cfg_zero_star \
# --use_zero_init \
# --zero_steps 1 \