Instructions to use ECLIPSE-Community/ECLIPSE_KandinskyV22_Prior with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ECLIPSE-Community/ECLIPSE_KandinskyV22_Prior with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ECLIPSE-Community/ECLIPSE_KandinskyV22_Prior", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Download config.json from ECLIPSE-Community/ECLIPSE_KandinskyV22_Prior: direct link, hf CLI and curl.
- Browser
- Download file 498 Bytes
-
https://huggingface.co/ECLIPSE-Community/ECLIPSE_KandinskyV22_Prior/resolve/main/config.json
- Command line
-
hf download hf://ECLIPSE-Community/ECLIPSE_KandinskyV22_Prior/config.json
-
curl -L -o config.json https://huggingface.co/ECLIPSE-Community/ECLIPSE_KandinskyV22_Prior/resolve/main/config.json
498 Bytes
| { | |
| "_class_name": "PriorTransformer", | |
| "_diffusers_version": "0.20.2", | |
| "_name_or_path": "mpatel57/ECLIPSE-KandinskyV22-LaionHighRes-main", | |
| "added_emb_type": "prd", | |
| "additional_embeddings": 3, | |
| "attention_head_dim": 32, | |
| "clip_embed_dim": null, | |
| "dropout": 0.0, | |
| "embedding_dim": 1280, | |
| "embedding_proj_dim": null, | |
| "embedding_proj_norm_type": null, | |
| "encoder_hid_proj_type": "linear", | |
| "norm_in_type": null, | |
| "num_attention_heads": 16, | |
| "num_embeddings": 77, | |
| "num_layers": 10 | |
| } | |