Model reference · open weights

sd-vae-ft-mse-flax

Available as managed deployment Image enterprise-explorers Text→image 1 variants 3k dl/mo

sd-vae-ft-mse-flax is an open-weight image model from enterprise-explorers. AxForge deploys and operates it for you on dedicated EU-owned hardware — with the licence handled where one is required.

Available as managed deployment — configured and operated for you on dedicated EU hardware, quoted per deployment.

What it is

Released byenterprise-explorers
TypeImage models
TaskText→image
Runs withtransformers
Released2023-03-23
Popularity3k downloads / month
LicenceOpen weights

About

What sd-vae-ft-mse-flax is

Utilizing

These weights are intended to be used with the 🧨 diffusers library. If you are looking for the model to use with the original CompVis Stable Diffusion codebase, come here.

This is a Flax version of the original weights

Read the full model card

Decoder Finetuning

We publish two kl-f8 autoencoder versions, finetuned from the original kl-f8 autoencoder on a 1:1 ratio of LAION-Aesthetics and LAION-Humans, an unreleased subset containing only SFW images of humans. The intent was to fine-tune on the Stable Diffusion training set (the autoencoder was originally trained on OpenImages) but also enrich the dataset with images of humans to improve the reconstruction of faces. The first, ft-EMA, was resumed from the original checkpoint, trained for 313198 steps and uses EMA weights. It uses the same loss configuration as the original checkpoint (L1 + LPIPS). The second, ft-MSE, was resumed from ft-EMA and uses EMA weights and was trained for another 280k steps using a different loss, with more emphasis on MSE reconstruction (MSE + 0.1 * LPIPS). It produces somewhat ``smoother'' outputs. The batch size for both versions was 192 (16 A100s, batch size 12 per GPU). To keep compatibility with existing models, only the decoder part was finetuned; the checkpoints can be used as a drop-in replacement for the existing autoencoder.

Original kl-f8 VAE vs f8-ft-EMA vs f8-ft-MSE

Evaluation

COCO 2017 (256x256, val, 5000 images)

Modeltrain stepsrFIDPSNRSSIMPSIMLinkComments
original2468034.9923.4 +/- 3.80.69 +/- 0.141.01 +/- 0.28https://ommer-lab.com/files/latent-diffusion/kl-f8.zipas used in SD
ft-EMA5600014.4223.8 +/- 3.90.69 +/- 0.130.96 +/- 0.27https://huggingface.co/stabilityai/sd-vae-ft-ema-original/resolve/main/vae-ft-ema-560000-ema-pruned.ckptslightly better overall, with EMA
ft-MSE8400014.7024.5 +/- 3.70.71 +/- 0.130.92 +/- 0.27https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.ckptresumed with EMA from ft-EMA, emphasis on MSE (rec. loss = MSE + 0.1 * LPIPS), smoother outputs

LAION-Aesthetics 5+ (256x256, subset, 10000 images)

Modeltrain stepsrFIDPSNRSSIMPSIMLinkComments
original2468032.6126.0 +/- 4.40.81 +/- 0.120.75 +/- 0.36https://ommer-lab.com/files/latent-diffusion/kl-f8.zipas used in SD
ft-EMA5600011.7726.7 +/- 4.80.82 +/- 0.120.67 +/- 0.34https://huggingface.co/stabilityai/sd-vae-ft-ema-original/resolve/main/vae-ft-ema-560000-ema-pruned.ckptslightly better overall, with EMA
ft-MSE8400011.8827.3 +/- 4.70.83 +/- 0.110.65 +/- 0.34https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.ckptresumed with EMA from ft-EMA, emphasis on MSE (rec. loss = MSE + 0.1 * LPIPS), smoother outputs

Visual

Visualization of reconstructions on 256x256 images from the COCO2017 validation dataset.

256x256: ft-EMA (left), ft-MSE (middle), original (right)

From the published model card. Full card on the HuggingFace links in the sidebar.

Using it via the API

Call it like any OpenAI endpoint

Once AxForge deploys sd-vae-ft-mse-flax for you, it answers on the OpenAI-compatible API — the same base URL and keys as every other model. (sd-vae-ft-mse-flax below is illustrative; you get the exact model name on deployment.)

$ curl -sS https://api.axforge.ai/v1/images/generations \
  -H "Authorization: Bearer $AXFORGE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"sd-vae-ft-mse-flax","prompt":"a red bicycle","size":"1024x1024"}'

Create an account — your API key is available in the console. 3M free tokens every 30 days with every new account.

© 2026 AxForge · EU-hosted AI infrastructure Pricing Docs Trust Privacy Terms