UPSTREAM PR #1273: fix: avoid black images if using an invalid VAE (for SDXL)#62
UPSTREAM PR #1273: fix: avoid black images if using an invalid VAE (for SDXL)#62
Conversation
OverviewAnalysis of 48,313 functions across two binaries reveals mixed performance impact from a single commit implementing VAE validation for SDXL models. Modified functions: 58 (0.12%). New: 0. Removed: 0. Unchanged: 48,255. Binaries analyzed:
Function AnalysisCritical improvements:
Concerning regressions:
Initialization regressions:
Initialization improvements:
Other analyzed functions showed minor changes in STL operations, swap functions, and container management with negligible cumulative impact. Additional FindingsThe commit modified only 🔎 Full breakdown: Loci Inspector. |
Note
Source pull request: leejet/stable-diffusion.cpp#1273
If we inadvertently provide an invalid VAE file (for example
--vae sdxl_invalid_vae.sft) we will get a black image later after some U-Net loops. This can happen due to typos, invalid symlinks etc. etc.So now we better act like using option
--force-sdxl-vae-conv-scale.