FLUX.2-dev-vae / README.md
kaiyuyue's picture
create
9301428 verified
---
license: other
license_name: flux-dev-non-commercial-license
license_link: https://huggingface.co/black-forest-labs/FLUX.2-dev/blob/main/LICENSE.txt
tags:
- Image-to-Image
- FLUX
---
# intro
fork the subdirectory [black-forest-labs/FLUX.2-dev/vae](https://huggingface.co/black-forest-labs/FLUX.2-dev/tree/main/vae) to load only the VAE
# usage
```python
from diffusers.models import AutoencoderKL as DiffusersAutoencoderKL
model = DiffusersAutoencoderKL.from_pretrained("kaiyuyue/FLUX.2-dev-vae")
```
# license
FLUX.2-dev [LICENSE.md](https://huggingface.co/black-forest-labs/FLUX.2-dev/blob/main/LICENSE.txt)