Instructions to use charchits7/tiny-chroma-pipe with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use charchits7/tiny-chroma-pipe with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("charchits7/tiny-chroma-pipe", 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 transformer/config.json from charchits7/tiny-chroma-pipe: direct link, hf CLI and curl.
- Browser
- Download file 423 Bytes
-
https://huggingface.co/charchits7/tiny-chroma-pipe/resolve/main/transformer/config.json
- Command line
-
hf download hf://charchits7/tiny-chroma-pipe/transformer/config.json
-
curl -L -o config.json https://huggingface.co/charchits7/tiny-chroma-pipe/resolve/main/transformer/config.json
423 Bytes
| { | |
| "_class_name": "ChromaTransformer2DModel", | |
| "_diffusers_version": "0.40.0.dev0", | |
| "approximator_hidden_dim": 32, | |
| "approximator_layers": 1, | |
| "approximator_num_channels": 16, | |
| "attention_head_dim": 16, | |
| "axes_dims_rope": [ | |
| 4, | |
| 4, | |
| 8 | |
| ], | |
| "in_channels": 4, | |
| "joint_attention_dim": 32, | |
| "num_attention_heads": 2, | |
| "num_layers": 1, | |
| "num_single_layers": 1, | |
| "out_channels": null, | |
| "patch_size": 1 | |
| } | |