Files
koboldcpp/otherarch/sdcpp
Wagner Bruna 19588f18ea sd: relax size restrictions for DiT models (#1986)
Round image dimensions to the specific multiple required by each
DiT model, which range from 32 (certain Wan models) to 1 (Chroma
Radiance), with most requiring multiples of 8 or 16. Unet models
keep being rounded to multiples of 64.

Current sd.cpp rounds the sizes internally; but it always rounds
up, so we still need to round on our side to apply image size
restrictions, and to trigger VAE tiling correctly.

Also, remove a legacy test that could abort a generation with
unsupported image sizes: it'd never run, because it was applied
after the image side adjustements.
2026-02-22 11:00:10 +08:00
..
2025-11-23 19:29:01 -03:00
2025-11-23 19:28:54 -03:00
2025-11-23 19:28:54 -03:00
2026-02-14 08:12:08 +08:00
2025-11-23 19:28:34 -03:00
2026-02-14 08:12:08 +08:00
2025-09-30 13:56:41 +08:00
2025-11-23 19:28:34 -03:00
2025-10-25 21:19:35 +08:00
2026-02-14 08:12:08 +08:00
2026-01-29 21:37:30 +08:00
2026-01-03 15:28:27 +08:00
2026-02-04 16:12:39 +08:00
2026-02-04 16:12:39 +08:00