Instructions to use songkey/hm2_reference with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use songkey/hm2_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/hm2_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:
- b6e54507124c368c799b2bb809d2100e980c3e522baa45c191adf4faaded4141
- Size of remote file:
- 126 MB
- SHA256:
- 86196b8538e5d0e232b466dc9d5c3982331a8c318b486b44986ded9f7aa8e8e1
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.