Instructions to use JTUplayer/Harmony with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use JTUplayer/Harmony with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("JTUplayer/Harmony", 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
- 174 kB xet
- 1.42 MB xet
- 1.43 MB xet
- 1.22 MB xet
- 1.14 MB xet
- 1.43 MB xet
- 1.31 MB xet
- 1.16 MB xet
- 1.33 MB xet
- 1.13 MB xet
- 1.41 MB xet
- 1.62 MB xet
- 1.22 MB xet
- 1.26 MB xet
- 1.56 MB xet
- 1.32 MB xet
- 1.59 MB xet
- 1.08 MB xet
- 1.53 MB xet
- 1.26 MB xet
- 1.2 MB xet
- 1.19 MB xet
- 1.15 MB xet
- 1.8 MB xet
- 1.39 MB xet
- 1.69 MB xet
- 1.59 MB xet
- 1.33 MB xet
- 1.47 MB xet
- 1.12 MB xet
- 1.44 MB xet
- 1.24 MB xet
- 1.27 MB xet
- 1.68 MB xet
- 1.43 MB xet
- 1.31 MB xet
- 2.29 MB xet
- 1.27 MB xet
- 1.12 MB xet
- 1.53 MB xet
- 1.44 MB xet
- 1.27 MB xet
- 1.2 MB xet
- 1.15 MB xet
- 1.35 MB xet
- 1.54 MB xet
- 1.17 MB xet
- 1.2 MB xet
- 1.09 MB xet
- 1.45 MB xet