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