Skip to content

fix(gui): preserve disabled VAE tiling in configs#2346

Open
DilanRG wants to merge 1 commit into
LostRuins:concedo_experimentalfrom
DilanRG:codex/fix-sdtiledvae-zero
Open

fix(gui): preserve disabled VAE tiling in configs#2346
DilanRG wants to merge 1 commit into
LostRuins:concedo_experimentalfrom
DilanRG:codex/fix-sdtiledvae-zero

Conversation

@DilanRG

@DilanRG DilanRG commented Jul 18, 2026

Copy link
Copy Markdown

Summary

  • preserve a saved sdtiledvae: 0 when loading a .kcpps file in the launcher
  • fall back to the default threshold only when the key is absent

This addresses the VAE tiling threshold reload bug in #2065. Zero is the documented value for disabling VAE tiling, but the previous truthiness check replaced it with the default.

Verification

  • koboldcpp.py syntax compilation passes
  • exact config expression tested with saved 0, saved 768, and a missing key
  • git diff --check passes

The existing tests/test_koboldcpp.py doctest still has one unrelated warning-text expectation failure on current concedo_experimental.

Treat the presence of sdtiledvae separately from its truthiness so the documented zero value survives a launcher config reload. Fixes LostRuins#2065.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants