Instructions to use OzzyGT/idol_diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use OzzyGT/idol_diffusers with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OzzyGT/idol_diffusers", 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/config.json from OzzyGT/idol_diffusers: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/OzzyGT/idol_diffusers/resolve/main/transformer/config.json
- Command line
-
hf download hf://OzzyGT/idol_diffusers/transformer/config.json
-
curl -L -o config.json https://huggingface.co/OzzyGT/idol_diffusers/resolve/main/transformer/config.json
361 Bytes
| { | |
| "_class_name": "IdolTransformerModel", | |
| "_diffusers_version": "0.42.0.dev0", | |
| "attention_head_dim": 64, | |
| "camera_channels": 5, | |
| "hidden_size": 1024, | |
| "image_embed_dim": 1280, | |
| "image_vae_embed_dim": 128, | |
| "in_channels": 16, | |
| "mlp_ratio": 4.0, | |
| "num_attention_heads": 16, | |
| "num_latent_tokens": 8192, | |
| "num_layers": 24, | |
| "num_refiner_layers": 2 | |
| } | |