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