Skip to content
Back to skills

Tiled Vae

ASecurity

"Configure and troubleshoot the extension's Tiled VAE panel for

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
developmentbackendperformance

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill tiled-vae --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tiled Vae?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tiled Vae
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-tiled-vae/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-tiled-vae)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tiled-vae
description: "Configure and troubleshoot the extension's Tiled VAE panel for
  high-resolution VAE encode/decode, tile-size tuning, fast modes, attention
  backend compatibility, NaN, and OOM recovery."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# Tiled VAE

Use this sub-skill when the user's task concerns **Tiled VAE**: decoding/encoding very large images, VAE out-of-memory failures, fp16 NaNs, encoder/decoder tile sizes, fast encoder/decoder modes, color fix, or WebUI attention optimization compatibility.

## When to read

Read this for:

- CUDA OOM during VAE encode/decode rather than during UNet denoising;
- 4K/8K image decode or img2img encode where regular VAE fails;
- selecting encoder and decoder tile sizes based on VRAM;
- deciding whether to move VAE to GPU;
- interpreting fast encoder, fast decoder, and fast encoder color fix;
- NaNs with half VAE or unknown attention optimization warnings.

For tiled denoising, region prompts, or img2img upscale settings, read [tiled-diffusion](../tiled-diffusion/SKILL.md). For DemoFusion staged upscale, read [demofusion](../demofusion/SKILL.md).

## Core operating facts

- The panel is AlwaysVisible in both txt2img and img2img.
- Enabling Tiled VAE replaces the active VAE encoder/decoder `forward` methods with tiled hooks for the duration of processing, then restores them in postprocess.
- The encoder uses padding of 32 pixels; the decoder uses padding of 11 latent pixels.
- If an input is small enough for the selected tile size, the hook prints that tiling is unnecessary and falls back to the original VAE forward.
- Recommended tile sizes are computed from CUDA device memory when available; CPU defaults are conservative.
- The source comments warn that fp16 VAE can produce NaNs for giant images and recommends `--no-half-vae` for those cases.

## References

- [Workflows](references/workflows.md): setup, tile-size defaults, fast mode semantics, and validation steps.
- [Troubleshooting](references/troubleshooting.md): OOM, NaN, attention backend, stale hook, and performance recovery.

Files in this skill

  • SKILL.md2.1 KB
  • references/troubleshooting.md2.5 KB
  • references/workflows.md3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.