Instructions to use AuraDiffusion/16ch-vae with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AuraDiffusion/16ch-vae with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AuraDiffusion/16ch-vae", 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
| license: cc | |
| library_name: diffusers | |
| tags: | |
| - art | |
| model-index: | |
| - name: 16ch-VAE | |
| results: | |
| - task: | |
| type: encoder-loss | |
| dataset: | |
| name: yerevann/coco-karpathy | |
| type: image | |
| metrics: | |
| - name: PSNR | |
| type: PSNR | |
| value: 31.5151 | |
| ## 16ch-VAE | |
| > Disclaimer: this VAE is not intended to be a replacement for SD3's VAE since the latent spaces are entirely different. | |
| A fully open source 16ch VAE reproduction for the [SD3](https://arxiv.org/abs/2403.03206). Useful for people who are building their own image generation models and need an off-the-shelf VAE. Natively trained in fp16. | |
| | VAE | rFID | PSNR | LPIPS | | |
| |------------------|--------|---------|--------| | |
| | SD1.5 VAE | 0.3131 | 26.4332 | 0.0328 | | |
| | SDXL VAE | 0.3511 | 26.7577 | 0.032 | | |
| | SD3 VAE | 0.0257 | 30.3231 | 0.0132 | | |
| | [16ch-VAE](https://huggingface.co/AuraDiffusion/16ch-vae) | 0.0667 | 31.5151 | 0.0136 | | |
| | [16ch-VAE with FFT](https://huggingface.co/AuraDiffusion/16ch-vae)* | 0.1584 | 31.0542 | 0.0281 | | |
| ### Usage | |
| Awaiting https://github.com/huggingface/diffusers/pull/8769 in diffusers! |