Instructions to use songkey/hm5_reference with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use songkey/hm5_reference with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("songkey/hm5_reference", 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
- Xet hash:
- 22da8194ea3ec9117647eedc00ad1de38eea5232c0304e0b75ec3d8b68b5bf80
- Size of remote file:
- 385 MB
- SHA256:
- e2f597b09c0f5bc9c96b510002a8556cfbbb777495df1190b6e7758ea8dde064
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.