ONNX Model Zoo

huaichang/PersonaLive

By huaichang · ↓ 0 · ♥ 114 · Updated 2025-12-26

What's in this repo

This page lists the files in huaichang/PersonaLive, including unet_opt.onnx.

  • 1 ONNX models (.onnx files)
  • 21 files, including 6 .pth, 3 .gif, 2 .png, 2 .svg, 1 .md, 1 .onnx
  • Last updated 2025-12-26

ONNX files

File Size Download
pretrained_weights/onnx/unet_opt/unet_opt.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

PersonaLive!

Expressive Portrait Image Animation for Live Streaming

GitHub

Zhiyuan Li1,2,3 · Chi-Man Pun1,📪 · Chen Fang2 · Jue Wang2 · Xiaodong Cun3,📪

1 University of Macau    2 Dzine.ai    3 GVC Lab, Great Bay University

⚡️ Real-time, Streamable, Infinite-Length ⚡️ ⚡️ Portrait Animation requires only ~12GB VRAM ⚡️

        ![](assets/demo_3.gif)
     | 
    
        ![](assets/demo_2.gif)
     | 

📋 TODO

  • [ ] If you find PersonaLive useful or interesting, please give us a Star 🌟 on our GitHub repo! Your support drives us to keep improving. 🍻
  • [ ] Fix bugs (If you encounter any issues, please feel free to open an issue or contact me! 🙏)
  • [ ] Enhance WebUI (Support reference image replacement
  • [x] [2025.12.22] 🔥 Supported streaming strategy in offline inference to generate long videos on 12GB VRAM!
  • [x] [2025.12.17] 🔥 ComfyUI-PersonaLive is now supported! (Thanks to @okdalto)
  • [x] [2025.12.15] 🔥 Release paper!
  • [x] [2025.12.12] 🔥 Release inference code, config, and pretrained weights!

⚙️ Framework

Image 1

We present PersonaLive, a real-time and streamable diffusion framework capable of generating infinite-length portrait animations on a single 12GB GPU.

🚀 Getting Started

🛠 Installation

# clone this repo
git clone https://github.com/GVCLab/PersonaLive
cd PersonaLive

# Create conda environment
conda create -n personalive python=3.10
conda activate personalive

# Install packages with pip
pip install -r requirements_base.txt

⏬ Download weights

Option 1: Download pre-trained weights of base models and other components (sd-image-variations-diffusers and sd-vae-ft-mse). You can run the following command to download weights automatically:

python tools/download_weights.py

Option 2: Download pre-trained weights into the ./pretrained_weights folder from one of the below URLs:

Finally, these weights should be organized as follows:

pretrained_weights
├── onnx
│   ├── unet_opt
│   │   ├── unet_opt.onnx
│   │   └── unet_opt.onnx.data
│   └── unet
├── personalive
│   ├── denoising_unet.pth
│   ├── motion_encoder.pth
│   ├── motion_extractor.pth
│   ├── pose_guider.pth
│   ├── reference_unet.pth
│   └── temporal_module.pth
├── sd-vae-ft-mse
│   ├── diffusion_pytorch_model.bin
│   └── config.json
├── sd-image-variations-diffusers
│   ├── image_encoder
│   │   ├── pytorch_model.bin
│   │   └── config.json
│   ├── unet
│   │   ├── diffusion_pytorch_model.bin
│   │   └── config.json
│   └── model_index.json
└── tensorrt
    └── unet_work.engine

🎞️ Offline Inference

python inference_offline.py

⚠️ Note for RTX 50-Series (Blackwell) Users: xformers is not yet fully compatible with the new architecture. To avoid crashes, please disable it by running:

python inference_offline.py --use_xformers False

📸 Online Inference

📦 Setup Web UI
# install Node.js 18+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
nvm install 18

cd webcam
source start.sh
🏎️ Acceleration (Optional)

Converting the model to TensorRT can significantly speed up inference (~ 2x ⚡️). Building the engine may take about 20 minutes depending on your device. Note that TensorRT optimizations may lead to slight variations or a small drop in output quality.

pip install -r requirements_trt.txt

python torch2trt.py

The provided TensorRT model is from an H100. We recommend ALL users (including H100 users) re-run python torch2trt.py locally to ensure best compatibility.

▶️ Start Streaming
python inference_online.py --acceleration none (for RTX 50-Series) or xformers or tensorrt

Then open http://0.0.0.0:7860 in your browser. (*If http://0.0.0.0:7860 does not work well, try http://localhost:7860)

How to use: Upload Image ➡️ Fuse Reference ➡️ Start Animation ➡️ Enjoy! 🎉

PersonaLive

Regarding Latency: Latency varies depending on your device's computing power. You can try the following methods to optimize it:

  1. Lower the "Driving FPS" setting in the WebUI to reduce the computational workload.
  2. You can increase the multiplier (e.g., set to num_frames_needed * 4 or higher) to better match your device's inference speed. https://github.com/GVCLab/PersonaLive/blob/6953d1a8b409f360a3ee1d7325093622b29f1e22/webcam/util.py#L73

📚 Community Contribution

Special thanks to the community for providing helpful setups! 🥂

  • Windows + RTX 50-Series Guide: Thanks to @dknos for providing a detailed guide on running this project on Windows with Blackwell GPUs.

  • TensorRT on Windows: If you are trying to convert TensorRT models on Windows, this discussion might be helpful. Special thanks to @MaraScott and @Jeremy8776 for their insights.

  • ComfyUI: Thanks to @okdalto for helping implement the ComfyUI-PersonaLive support.

  • Useful Scripts: Thanks to @suruoxi for implementing download_weights.py, and to @andchir for adding audio merging functionality.

🎬 More Results

👀 Visualization results
 | 

  
 | 




  
 | 

  
 | 

  
 | 

  
 | 




  
 | 

  
 | 

  
 | 

  
 | 
🤺 Comparisons
 | 




  
 | 




  
 | 

⭐ Citation

If you find PersonaLive useful for your research, welcome to cite our work using the following BibTeX:

@article{li2025personalive,
  title={PersonaLive! Expressive Portrait Image Animation for Live Streaming},
  author={Li, Zhiyuan and Pun, Chi-Man and Fang, Chen and Wang, Jue and Cun, Xiaodong},
  journal={arXiv preprint arXiv:2512.11253},
  year={2025}
}

❤️ Acknowledgement

This code is mainly built upon Moore-AnimateAnyone, X-NeMo, StreamDiffusion, RAIN and LivePortrait, thanks to their invaluable contributions.

Model info

image-to-video diffusers
diffusers onnx portrait-animation real-time diffusion image-to-video arxiv:2512.11253 license:apache-2.0 region:us
↓ 0 ♥ 114

Created: 2025-12-13

Updated: 2025-12-26

View on Hugging Face

Files (21)

.gitattributes
README.md
assets/demo_1.gif
assets/demo_2.gif
assets/demo_3.gif
assets/guide.png
assets/header.svg
assets/highlight.svg
assets/overview.png
pretrained_weights/.DS_Store
pretrained_weights/onnx/.DS_Store
pretrained_weights/onnx/unet_opt/unet_opt.onnx ONNX
pretrained_weights/onnx/unet_opt/unet_opt.onnx.data
pretrained_weights/personalive/denoising_unet.pth
pretrained_weights/personalive/motion_encoder.pth
pretrained_weights/personalive/motion_extractor.pth
pretrained_weights/personalive/pose_guider.pth
pretrained_weights/personalive/reference_unet.pth
pretrained_weights/personalive/temporal_module.pth
pretrained_weights/tensorrt/.DS_Store
pretrained_weights/tensorrt/unet_work(H100).engine

Related models