dot-select_strategy: Select generation strategy based on resolution and VRAM

.select_strategyR Documentation

Select generation strategy based on resolution and VRAM

Description

Select generation strategy based on resolution and VRAM

Usage

.select_strategy(
  width,
  height,
  ctx,
  model_type,
  is_img2img,
  vae_decode_only = TRUE
)

Arguments

width

Target width

height

Target height

ctx

SD context with VRAM attributes

model_type

Model type string

is_img2img

Whether this is an img2img call

vae_decode_only

Whether context has VAE encoder (FALSE = has encoder)

Value

One of "direct", "tiled", "highres_fix"


sd2R documentation built on March 30, 2026, 5:08 p.m.