| .resolve_vae_tiling | R Documentation |
In "auto" mode, queries free VRAM from the Vulkan backend and
compares against .estimate_vae_vram. Falls back to the
pixel-area vae_auto_threshold when VRAM query is unavailable.
.resolve_vae_tiling(
vae_mode,
vae_tiling,
width,
height,
vae_auto_threshold,
ctx = NULL,
batch = 1L,
system_reserve = 50 * 1024^2
)
vae_mode |
One of "normal", "tiled", "auto" |
vae_tiling |
Deprecated boolean flag (NULL if not set) |
width |
Image width in pixels |
height |
Image height in pixels |
vae_auto_threshold |
Pixel area threshold — fallback for auto mode when VRAM query fails |
ctx |
SD context (used to read device index and model_type). NULL disables VRAM-aware logic. |
batch |
Batch size for VRAM estimation (default 1) |
system_reserve |
Bytes to keep free as safety margin (default 50 MB) |
Logical, TRUE if tiling should be enabled
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.