vae-ft-mse-840000-ema-pruned.safetensors
The vae-ft-mse-840000-ema-pruned.safetensors
is a fine-tuned, lightweight VAE trained using Mean Squared Error (MSE) loss and Exponential Moving Average (EMA) smoothing. Itโs optimized for SD 1.4/1.5 checkpoints and is widely used in ComfyUI workflows to decode latent images into high-quality pixel outputs.
This isnโt just a VAEโitโs the VAE you swap in when youโre tired of the default one giving your images the emotional range of a potato.
๐ง File Formatโ
- Filename:
vae-ft-mse-840000-ema-pruned.safetensors
- File Type:
.safetensors
- Purpose: VAE for decoding latent representations into image space
- Optimization: EMA + MSE for smooth, stable, high-fidelity output
- Model Family: Stable Diffusion 1.x compatible
๐ Function in ComfyUI Workflowsโ
This VAE connects to key nodes like VAE Decode
, KSampler
, and CheckpointLoaderSimple
. It improves final image output by ensuring that decoded images reflect the full potential of your latent vectorsโwithout barfing color gradients or introducing bizarre lighting.
Typical hook-up points:
- VAE Decode
- KSampler (when a VAE is required alongside a checkpoint)
- Auto-decoding pipelines
๐ง Technical Detailsโ
Property | Value |
---|---|
Training Loss | Mean Squared Error (MSE) |
Training Steps | 840,000 |
EMA Applied | โ Yes |
Format | .safetensors |
Model Pruned | โ Reduced unnecessary parameters |
Ideal Checkpoint Pair | v1-5-pruned-emaonly.safetensors |
ComfyUI Compatibility | โ Fully Supported |
โ Benefitsโ
- Crisp edges and smoother skin rendering
- Improved detail fidelity without bloating your workflow
- Faster loading thanks to pruning
- Compatible with virtually all 1.x-based checkpoints
โ๏ธ Usage Tipsโ
- Best for: Realism workflows, portrait renders, concept art, style transfers
- Avoid: Mixing with SDXL checkpoints (unless you're trying to reinvent glitch art)
- Compare against
vae-ft-mse-560000
or baked VAEs to assess output quality per use case
๐ ComfyUI Setup Instructionsโ
- Drop in your
CheckpointLoaderSimple
node. - Set your checkpoint to
v1-5-pruned-emaonly.safetensors
(or similar). - Set
vae_name
tovae-ft-mse-840000-ema-pruned.safetensors
. - Wire the VAE output to your
VAE Decode
node. - Bask in your gloriously reconstructed images.
๐ฅ What-Not-To-Do-Unless-You-Want-a-Fireโ
Letโs avoid turning your beautiful workflow into a dumpster inferno. Hereโs what not to do:
- โ Do not use with SDXL checkpoints
This is a VAE for SD 1.x. If you connect it to SDXL models, donโt come crying when your render looks like a Dali painting got dunked in a microwave. - โ Do not pair with baked VAE checkpoints
If your checkpoint already includes a baked-in VAE, this one will just argue with it. Itโs like wearing two pairs of glasses at onceโconfusing and blurry. - โ Do not skip connecting the VAE in
VAE Decode
The node literally exists to decode using the VAE. Skipping it is like ordering sushi and forgetting the fish. - โ Do not rename the file with typos and wonder why it wonโt load
Misspell it asvae-ft-mse-840000-ema-purned.safetensors
and watch ComfyUI have a quiet meltdown. - โ Donโt plug it into SDXL-specific nodes expecting magic
This VAE doesnโt understand SDXLโs latent dimensions. Itโs like trying to watch Netflix on a toaster.
๐ Additional Resourcesโ
๐ Example Node Configurationโ
json
{ "type": "CheckpointLoaderSimple", "inputs": { "ckpt_name": "v1-5-pruned-emaonly.safetensors", "vae_name": "vae-ft-mse-840000-ema-pruned.safetensors" } }
๐ Notesโ
- Do not mix incompatible VAE and checkpoint versions (e.g., SDXL VAEs with SD 1.5 base models).
- If you notice unusual banding or oversaturation, test alternate VAEs or adjust the decoding step strength.