Instructions to use OzzyGT/drama_3_diffusers with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use OzzyGT/drama_3_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/drama_3_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 backbone/config.json from OzzyGT/drama_3_diffusers: direct link, hf CLI and curl.
- Browser
- Download file 1.62 kB
-
https://huggingface.co/OzzyGT/drama_3_diffusers/resolve/main/backbone/config.json
- Command line
-
hf download hf://OzzyGT/drama_3_diffusers/backbone/config.json
-
curl -L -o config.json https://huggingface.co/OzzyGT/drama_3_diffusers/resolve/main/backbone/config.json
1.62 kB
| { | |
| "_class_name": "Drama3Backbone", | |
| "_diffusers_version": "0.44.0.dev0", | |
| "head_dim": 256, | |
| "hidden_size": 2048, | |
| "layer_types": [ | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "linear_attention", | |
| "full_attention" | |
| ], | |
| "linear_conv_kernel_dim": 4, | |
| "linear_key_head_dim": 128, | |
| "linear_num_key_heads": 16, | |
| "linear_num_value_heads": 32, | |
| "linear_value_head_dim": 128, | |
| "max_position_embeddings": 262144, | |
| "moe_intermediate_size": 512, | |
| "norm_topk_prob": true, | |
| "num_attention_heads": 16, | |
| "num_experts": 256, | |
| "num_experts_per_tok": 8, | |
| "num_hidden_layers": 40, | |
| "num_key_value_heads": 2, | |
| "partial_rotary_factor": 0.25, | |
| "rms_norm_eps": 1e-06, | |
| "rope_theta": 10000000.0, | |
| "shared_expert_intermediate_size": 512, | |
| "vocab_size": 252288 | |
| } | |