Instructions to use fusing/autoencoder-kl-dummy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use fusing/autoencoder-kl-dummy with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("fusing/autoencoder-kl-dummy", 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 config.json from fusing/autoencoder-kl-dummy: direct link, hf CLI and curl.
- Browser
- Download file 386 Bytes
-
https://huggingface.co/fusing/autoencoder-kl-dummy/resolve/084e7698fcd23e9d9eaa10e6c6c0efcc2dec4553/config.json
- Command line
-
hf download hf://fusing/autoencoder-kl-dummy@084e7698fcd23e9d9eaa10e6c6c0efcc2dec4553/config.json
-
curl -L -o config.json https://huggingface.co/fusing/autoencoder-kl-dummy/resolve/084e7698fcd23e9d9eaa10e6c6c0efcc2dec4553/config.json
386 Bytes
| { | |
| "_class_name": "AutoencoderKL", | |
| "_diffusers_version": "0.0.4", | |
| "attn_resolutions": [], | |
| "ch": 64, | |
| "ch_mult": [ | |
| 1 | |
| ], | |
| "double_z": true, | |
| "dropout": 0.0, | |
| "embed_dim": 4, | |
| "give_pre_end": false, | |
| "in_channels": 3, | |
| "num_res_blocks": 1, | |
| "out_ch": 3, | |
| "remap": null, | |
| "resamp_with_conv": true, | |
| "resolution": 32, | |
| "sane_index_shape": false, | |
| "z_channels": 4 | |
| } | |