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-00007-of-00007.safetensors from HiDream-ai/HiDream-E1-1: direct link, hf CLI and curl.
- Browser
- Download file 4.29 GB
-
https://huggingface.co/HiDream-ai/HiDream-E1-1/resolve/main/transformer/diffusion_pytorch_model-00007-of-00007.safetensors
- Command line
-
hf download hf://HiDream-ai/HiDream-E1-1/transformer/diffusion_pytorch_model-00007-of-00007.safetensors
-
curl -L -o diffusion_pytorch_model-00007-of-00007.safetensors https://huggingface.co/HiDream-ai/HiDream-E1-1/resolve/main/transformer/diffusion_pytorch_model-00007-of-00007.safetensors
4.29 GB
- Xet hash:
- 69951b2d0f991dbfac866b0e5ecd3f0c11fc194c42348c1ca66a0c2edf7f8d6c
- Size of remote file:
- 4.29 GB
- SHA256:
- 9a251d55e0ca2a0fdcfdfcd9ba1682f36b46044ec45f5e8930bf61a57adbfa0b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.