Instructions to use timmyboy26/SANA-Video-LiteRT-NPU with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- LiteRT
How to use timmyboy26/SANA-Video-LiteRT-NPU with LiteRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use timmyboy26/SANA-Video-LiteRT-NPU with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf timmyboy26/SANA-Video-LiteRT-NPU:Q8_0 # Run inference directly in the terminal: llama cli -hf timmyboy26/SANA-Video-LiteRT-NPU:Q8_0
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf timmyboy26/SANA-Video-LiteRT-NPU:Q8_0 # Run inference directly in the terminal: llama cli -hf timmyboy26/SANA-Video-LiteRT-NPU:Q8_0
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf timmyboy26/SANA-Video-LiteRT-NPU:Q8_0 # Run inference directly in the terminal: ./build/bin/llama cli -hf timmyboy26/SANA-Video-LiteRT-NPU:Q8_0
Use Docker
docker model run hf.co/timmyboy26/SANA-Video-LiteRT-NPU:Q8_0
- Llama new
- LM Studio
- Jan
- Ollama
How to use timmyboy26/SANA-Video-LiteRT-NPU with Ollama:
ollama run hf.co/timmyboy26/SANA-Video-LiteRT-NPU:Q8_0
- Unsloth Desktop
- Docker Model Runner
How to use timmyboy26/SANA-Video-LiteRT-NPU with Docker Model Runner:
docker model run hf.co/timmyboy26/SANA-Video-LiteRT-NPU:Q8_0
- Lemonade
How to use timmyboy26/SANA-Video-LiteRT-NPU with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull timmyboy26/SANA-Video-LiteRT-NPU:Q8_0
Run and chat with the model
lemonade run user.SANA-Video-LiteRT-NPU-Q8_0
List all available models
lemonade list
- Atomic Chat
SANA-Video, LiteRT NPU builds (test)
NVIDIA SANA-Video converted to LiteRT and ahead-of-time compiled for phone NPUs. Experimental builds for device testing in LLM Hub.
| Folder | Model | Chips |
|---|---|---|
2b/ |
SANA-Video 2B 720p (LTX-2 VAE) | Snapdragon SM8450, SM8550, SM8650, SM8750, SM8845, SM8850; Google Tensor G3 to G6; MediaTek MT6989, MT6991, MT6993 |
5b/ |
SANA-Video 2.0 5B 720p, 4-step distilled (LTX-2.3 VAE) | Google Tensor G3 to G6; MediaTek MT6989, MT6991, MT6993 |
- Clip shapes:
512x320x25/(25 frames, about 1 s at 24 fps) and512x320x97/(97 frames, about 4 s). - The transformer is split into chunks (2B: 4 x 5 blocks; 5B: 8 x 4 layers, passing the Attention Residual block outputs along). The host computes the timestep sinusoid, the RoPE tables and the caption mask, and runs the Gemma-2 2B text encoder (not included here).
- fp16 weights. RMSNorm and LayerNorm divide each row by its max before squaring, and the linear attentions divide keys by the token count before summing over tokens, so activations stay within float16 range on the NPU.
- In each shape folder:
source/uncompiled fp16 models,<SOC>/AOT-compiled builds,inputs/probe inputs,manifest.jsonwith every file's SHA-256.
Conversion scripts: android/tools/sana_litert in the LLM Hub repository. SANA-Video is released by NVIDIA under the
Apache License 2.0; the VAE decoders come from Lightricks' LTX-2 / LTX-2.3 and remain subject to Lightricks' license.
- Downloads last month
- -
Hardware compatibility
Log In to add your hardware
8-bit
Model tree for timmyboy26/SANA-Video-LiteRT-NPU
Base model
Efficient-Large-Model/SANA-Video_2.0_5B_720p