๐Ÿ“ฑ NanoAvatar

Changing how often avatar applications can be used and how many users they can serve

๐Ÿ“ฑ Snapdragon 8 Gen 3 ยท Lite 37 FPS ยท โšก 112 ms model first frame

๐Ÿ“ฑ Android downloads (Full / Lite) ยท ๐Ÿ’ป Code and usage

๐ŸŽฌ Demos ยท ๐Ÿ“Š Benchmarks ยท English ยท ็ฎ€ไฝ“ไธญๆ–‡

Try it offline, without an API key. The app includes the models and an avatar. Record your voice to animate it. Android guide.

๐ŸŽฌ Demos

Generalization demo: The examples below were not used to train the model, nor was it specifically fine-tuned for them.

English demo Chinese demo

Generate high-fidelity talking-avatar videos directly on your phone, without a cloud GPU.

๐Ÿ“Š Performance

Model Device Best model FPS Best first frame Memory / VRAM estimate
๐Ÿ“ฑ NanoAvatar Z60 Ultra ยท Snapdragon 8 Gen 3
Android 14
35 FPS 127 ms 834 MiB
๐Ÿ“ฑ NanoAvatar Lite Z60 Ultra ยท Snapdragon 8 Gen 3
Android 14
37 FPS 112 ms 700 MiB
โšก Quantized RTX 4090
Windows CUDA
333 FPS 18 ms 834 MiB
๐Ÿ–ฅ๏ธ Full precision RTX 4090
Windows CUDA
224 FPS 37 ms 1119 MiB

Android first-frame timing runs from audio feature extraction to the first generated image.

The model generates a 256 ร— 256 face region, composited at the source video's original resolution.

๐ŸŒŠ Streaming generation: start speaking as audio arrives. With a streaming LLM and streaming TTS, NanoAvatar starts speaking in about 0.3 seconds in our tests, without waiting for the complete audio.

๐Ÿ“ฆ Choose and download a model

Model Files Contents
โšก Quantized quantized/ PyTorch/CUDA: HuBERT W8A16, mixed INT8 lip-sync model and CUDA DLL
๐Ÿ–ฅ๏ธ Full precision full-precision/ PyTorch: HuBERT FP16 and lip-sync model FP32
๐Ÿ“ฑ Android compiled android-qnn/ CPU: original FP32 face/audio encoders. QNN: HuBERT W8A16 and HTP FP16 generator

The quantized CUDA runtime targets Windows CUDA SM89 (RTX 4090). The Android package targets Snapdragon 8 Gen 3 / HTP v75.

Install the Hugging Face CLI, then download the package you need:

python -m pip install huggingface_hub

โšก Quantized

hf download wpydcr/NanoAvatar --include "quantized/*" --local-dir models

๐Ÿ–ฅ๏ธ Full precision

hf download wpydcr/NanoAvatar --include "full-precision/*" --local-dir models

๐Ÿ“ฑ Android compiled

hf download wpydcr/NanoAvatar --include "android-qnn/*" --local-dir models

Keep the complete directory structure when downloading.

Running the models and integrating them: NanoAvatar on GitHub.

License

chinese-hubert-large and its quantized and compiled versions retain the upstream MIT license.

Our lip-sync model and its quantized and compiled versions use CC BY-NC 4.0. Academic research and other noncommercial uses are permitted, subject to attribution and the other license terms.

Commercial licensing: wupingyu@mail.ustc.edu.cn.

See LICENSE for the full terms.

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Space using wpydcr/NanoAvatar 1

Collection including wpydcr/NanoAvatar