Views
No views yet

1conda create -n liveact python=3.10
2conda activate liveact
3pip install -r requirements.txt
4conda install conda-forge::sox -y1git clone https://github.com/thu-ml/SageAttention.git
2cd SageAttention
3git checkout v2.2.0
4python setup.py install1git clone https://github.com/ZhiqiJiang/SageAttentionFusion.git
2cd SageAttentionFusion
3python setup.py installpip install vllm==0.11.01git clone https://github.com/ModelTC/LightX2V
2cd LightX2V
3python setup_vae.py install| ModelName | Download |
|---|---|
| SoulX-LiveAct | 🤗 Huggingface |
| chinese-wav2vec2-base | 🤗 Huggingface |
1USE_CHANNELS_LAST_3D=1 CUDA_VISIBLE_DEVICES=0,1 \
2torchrun --nproc_per_node=2 --master_port=$(shuf -n 1 -i 10000-65535) \
3 generate.py \
4 --size 416*720 \
5 --ckpt_dir MODEL_PATH \
6 --wav2vec_dir chinese-wav2vec2-base \
7 --fps 20 \
8 --dura_print \
9 --input_json examples/example.json \
10 --steam_audio1USE_CHANNELS_LAST_3D=1 CUDA_VISIBLE_DEVICES=0,1 \
2torchrun --nproc_per_node=2 --master_port=$(shuf -n 1 -i 10000-65535) \
3 generate.py \
4 --size 480*832 \
5 --ckpt_dir MODEL_PATH \
6 --wav2vec_dir chinese-wav2vec2-base \
7 --fps 24 \
8 --input_json examples/example.json1USE_CHANNELS_LAST_3D=1 CUDA_VISIBLE_DEVICES=0,1 \
2torchrun --nproc_per_node=2 --master_port=$(shuf -n 1 -i 10000-65535) \
3 generate.py \
4 --size 512*512 \
5 --ckpt_dir MODEL_PATH \
6 --wav2vec_dir chinese-wav2vec2-base \
7 --fps 24 \
8 --input_json examples/example_edit.json1USE_CHANNELS_LAST_3D=1 CUDA_VISIBLE_DEVICES=0 \
2python generate.py \
3 --size 416*720 \
4 --ckpt_dir MODEL_PATH \
5 --wav2vec_dir chinese-wav2vec2-base \
6 --fps 24 \
7 --input_json examples/example.json \
8 --fp8_kv_cache \
9 --block_offload \
10 --t5_cpu1USE_CHANNELS_LAST_3D=1 CUDA_VISIBLE_DEVICES=0 \
2python generate.py \
3 --size 480*832 \
4 --ckpt_dir MODEL_PATH \
5 --wav2vec_dir chinese-wav2vec2-base \
6 --fps 24 \
7 --input_json examples/example.json \
8 --audio_cfg 1.7 \
9 --t5_cpu| Argument | Type | Required | Default | Description |
|---|---|---|---|---|
--size | str | Yes | - | The width and height of the generated video. |
--t5_cpu | bool | No | false | Whether to place T5 model on CPU. |
--offload_cache | bool | No | - | Whether to place kv cache on CPU. |
--fps | int | Yes | - | The target fps of the generated video. |
--audio_cfg | float | No | 1.0 | Classifier free guidance scale for audio control. |
--dura_print | bool | No | no | Whether print duration for every block. |
--input_json | str | Yes | _ | The condition json file path to generate the video. |
--seed | int | No | 42 | The seed to use for generating the image or video. |
--steam_audio | bool | No | false | Whether inference with steaming audio. |
--mean_memory | bool | No | false | Whether to use the mean memory strategy during inference for further performance improvement. |
--fp8_kv_cache | bool | No | false | Whether to store kv cache in FP8 and dequantize to BF16 on use. FP8 KV cache may slightly affect generation quality. |
--block_offload | bool | No | false | Whether to offload WanModel blocks to CPU between block forwards. |
1USE_CHANNELS_LAST_3D=1 CUDA_VISIBLE_DEVICES=0,1 \
2torchrun --nproc_per_node=2 --master_port=$(shuf -n 1 -i 10000-65535) \
3 demo.py \
4 --ckpt_dir MODEL_PATH \
5 --wav2vec_dir chinese-wav2vec2-base \
6 --size 416*720 \
7 --video_save_path ./generated_videos1USE_CHANNELS_LAST_3D=1 CUDA_VISIBLE_DEVICES=0 \
2torchrun --nproc_per_node=1 --master_port=$(shuf -n 1 -i 10000-65535) \
3 demo.py \
4 --ckpt_dir MODEL_PATH \
5 --wav2vec_dir chinese-wav2vec2-base \
6 --size 416*720 \
7 --fp8_kv_cache \
8 --block_offload \
9 --t5_cpu \
10 --video_save_path ./generated_videos1@misc{zhen2026soulxliveacthourscalerealtimehuman,
2 title={SoulX-LiveAct: Towards Hour-Scale Real-Time Human Animation with Neighbor Forcing and ConvKV Memory},
3 author={Dingcheng Zhen and Xu Zheng and Ruixin Zhang and Zhiqi Jiang and Yichao Yan and Ming Tao and Shunshun Yin},
4 year={2026},
5 eprint={2603.11746},
6 archivePrefix={arXiv},
7 primaryClass={cs.CV},
8 url={https://arxiv.org/abs/2603.11746},
9}
