Instructions to use HiDream-ai/HiDream-E1-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use HiDream-ai/HiDream-E1-1 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("HiDream-ai/HiDream-E1-1", 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 transformer/diffusion_pytorch_model-00006-of-00007.safetensors from HiDream-ai/HiDream-E1-1: direct link, hf CLI and curl.
- Browser
- Download file 4.99 GB
-
https://huggingface.co/HiDream-ai/HiDream-E1-1/resolve/main/transformer/diffusion_pytorch_model-00006-of-00007.safetensors
- Command line
-
hf download hf://HiDream-ai/HiDream-E1-1/transformer/diffusion_pytorch_model-00006-of-00007.safetensors
-
curl -L -o diffusion_pytorch_model-00006-of-00007.safetensors https://huggingface.co/HiDream-ai/HiDream-E1-1/resolve/main/transformer/diffusion_pytorch_model-00006-of-00007.safetensors
4.99 GB
- Xet hash:
- 9049725dc73800092b9f01386e7b391cd33d3e05822ac0c3100596b92e21f72d
- Size of remote file:
- 4.99 GB
- SHA256:
- 3a369315ab626bb269618be70a94f1196971710f3c0aeb8e99e3aef583b36a7e
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.