Instructions to use bschooled/FLUX.2-dev-VAE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use bschooled/FLUX.2-dev-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("bschooled/FLUX.2-dev-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
|
Download README.md from bschooled/FLUX.2-dev-VAE: direct link, hf CLI and curl.
- Browser
- Download file 1.52 kB
-
https://huggingface.co/bschooled/FLUX.2-dev-VAE/resolve/main/README.md
- Command line
-
hf download hf://bschooled/FLUX.2-dev-VAE/README.md
-
curl -L -o README.md https://huggingface.co/bschooled/FLUX.2-dev-VAE/resolve/main/README.md
1.52 kB
| license: other | |
| license_name: flux-non-commercial | |
| license_link: https://huggingface.co/black-forest-labs/FLUX.2-dev/blob/main/LICENSE.md | |
| # FLUX.2 [dev] VAE — ungated subset mirror | |
| Unmodified subset mirror of the `vae/` subfolder of | |
| [`black-forest-labs/FLUX.2-dev`](https://huggingface.co/black-forest-labs/FLUX.2-dev) | |
| (upstream commit `26afe3a78bb242c0a8bb181dcc8937bb16e5c66c`), published ungated so | |
| first-launch downloads can complete without the upstream license-acceptance gate. | |
| The full 32B DiT of FLUX.2 [dev] is **not** included — only the VAE files that the | |
| [MageFlow](https://github.com/bschooled/caeleste-image-generation) idol-turbo splat | |
| pipeline conditions on. Files are byte-identical to upstream: | |
| | file | sha256 | | |
| | --- | --- | | |
| | `vae/diffusion_pytorch_model.safetensors` | `d64f3a68e1cc4f9f4e29b6e0da38a0204fe9a49f2d4053f0ec1fa1ca02f9c4b5` | | |
| | `vae/config.json` | `7948580b2d53da578d49b9fed61b45d94a4c037ded5057ebd3adb4040bb5aef5` | | |
| | `LICENSE.md` | `468d9f4332c0c895e9132c035982a40a12750092603a2e910913cb49aa887d3b` | | |
| ## License | |
| These weights remain under the **[FLUX Non-Commercial License v2.1](LICENSE.md)** | |
| (copied verbatim in `LICENSE.md`). See `NOTICE.md` in this repository for the required | |
| Attribution Notice; rights to use the FLUX Model are granted **directly by Black Forest | |
| Labs Inc.** to every recipient of this mirror, and the Non-Commercial Purpose | |
| restrictions apply to all use. This is not an official product of Black Forest Labs Inc. | |
| and is not endorsed by them. | |