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 codec/config.json from OzzyGT/drama_3_diffusers: direct link, hf CLI and curl.
- Browser
- Download file 633 Bytes
-
https://huggingface.co/OzzyGT/drama_3_diffusers/resolve/main/codec/config.json
- Command line
-
hf download hf://OzzyGT/drama_3_diffusers/codec/config.json
-
curl -L -o config.json https://huggingface.co/OzzyGT/drama_3_diffusers/resolve/main/codec/config.json
633 Bytes
| { | |
| "_class_name": "Drama3Codec", | |
| "_diffusers_version": "0.44.0.dev0", | |
| "codebook_dim": 8, | |
| "codebook_size": 1024, | |
| "decoder_dim": 1536, | |
| "decoder_rates": [ | |
| 8, | |
| 8, | |
| 4, | |
| 2 | |
| ], | |
| "downsample_factor": [ | |
| 2, | |
| 2 | |
| ], | |
| "encoder_dim": 64, | |
| "encoder_rates": [ | |
| 2, | |
| 4, | |
| 8, | |
| 8 | |
| ], | |
| "encoder_transformer_layers": [ | |
| 0, | |
| 0, | |
| 0, | |
| 4 | |
| ], | |
| "encoder_transformer_window": 512, | |
| "head_dim": 64, | |
| "n_codebooks": 9, | |
| "norm_eps": 1e-05, | |
| "quantizer_transformer_layers": 8, | |
| "quantizer_transformer_window": 128, | |
| "rope_base": 10000.0, | |
| "sample_rate": 44100, | |
| "semantic_codebook_size": 4096 | |
| } | |