Instructions to use maxin-cn/Latte with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use maxin-cn/Latte with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("maxin-cn/Latte", 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 vae/diffusion_pytorch_model.bin from maxin-cn/Latte: direct link, hf CLI and curl.
- Browser
- Download file 335 MB
-
https://huggingface.co/maxin-cn/Latte/resolve/main/vae/diffusion_pytorch_model.bin
- Command line
-
hf download hf://maxin-cn/Latte/vae/diffusion_pytorch_model.bin
-
curl -L -o diffusion_pytorch_model.bin https://huggingface.co/maxin-cn/Latte/resolve/main/vae/diffusion_pytorch_model.bin
335 MB
- Xet hash:
- df3a7e184caac48d48a60a856685488bd9883bda847e88db012c64bca9fbb8ef
- Size of remote file:
- 335 MB
- SHA256:
- 4ec99ed96663e2418dba665762930f9eae8884e6b0a223fd53507931e8446eba
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.