Instructions to use ByteDance/LatentSync with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ByteDance/LatentSync with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ByteDance/LatentSync", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
Download auxiliary/i3d_torchscript.pt from ByteDance/LatentSync: direct link, hf CLI and curl.
- Browser
- Download file 51.2 MB
-
https://huggingface.co/ByteDance/LatentSync/resolve/main/auxiliary/i3d_torchscript.pt
- Command line
-
hf download hf://ByteDance/LatentSync/auxiliary/i3d_torchscript.pt
-
curl -L -o i3d_torchscript.pt https://huggingface.co/ByteDance/LatentSync/resolve/main/auxiliary/i3d_torchscript.pt
51.2 MB
- Xet hash:
- d3f777d6e3cb28e8c9b2d77de7221ae34ac7176fa78a0e26b0bde641af1e173d
- Size of remote file:
- 51.2 MB
- SHA256:
- bec6519f66ea534e953026b4ae2c65553c17bf105611c746d904657e5860a5e2
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.