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-00003-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-00003-of-00007.safetensors
- Command line
-
hf download hf://HiDream-ai/HiDream-E1-1/transformer/diffusion_pytorch_model-00003-of-00007.safetensors
-
curl -L -o diffusion_pytorch_model-00003-of-00007.safetensors https://huggingface.co/HiDream-ai/HiDream-E1-1/resolve/main/transformer/diffusion_pytorch_model-00003-of-00007.safetensors
4.99 GB
- Xet hash:
- 82ae4607c6ca8ed3c785013a342bd49336233fb35cc2b457c91ee7318b10045a
- Size of remote file:
- 4.99 GB
- SHA256:
- 23e712524854cb13be265442497ff24112e8703fc6864304fc6e4f18f02f4538
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.