#!/bin/bash lightx2v_path=/mtc/yongyang/projects/lightx2v export PYTHONPATH=${lightx2v_path}:$PYTHONPATH export CUDA_VISIBLE_DEVICES=2 model_path=/mtc/yongyang/models/x2v_models/hunyuan/lightx2v_format/t2v python ${lightx2v_path}/lightx2v/__main__.py \ --model_cls hunyuan \ --model_path $model_path \ --prompt "A detailed wooden toy ship with intricately carved masts and sails is seen gliding smoothly over a plush, blue carpet that mimics the waves of the sea. The ship's hull is painted a rich brown, with tiny windows. The carpet, soft and textured, provides a perfect backdrop, resembling an oceanic expanse. Surrounding the ship are various other toys and children's items, hinting at a playful environment. The scene captures the innocence and imagination of childhood, with the toy ship's journey symbolizing endless adventures in a whimsical, indoor setting." \ --infer_steps 50 \ --target_video_length 65 \ --target_height 480 \ --target_width 640 \ --attention_type flash_attn2 \ --cpu_offload \ --feature_caching TaylorSeer \ --save_video_path ./output_lightx2v_offload_TaylorSeer.mp4 \ # --mm_config '{"mm_type": "W-int8-channel-sym-A-int8-channel-sym-dynamic-Vllm", "weight_auto_quant": true}'