Repository navigation
Run Live Painting on SD 1.5 even when Text to Image is on Klein - #172
Merged
Merged
Conversation
…on Klein The live tier is SD 1.5 plus the LCM LoRA through CheckpointLoaderSimple, but it took whatever the Text to Image Model dropdown held. Since v0.39 a starter install opens Text to Image on FLUX.2 Klein, a diffusion model in another folder, so every live cycle failed with "The model flux-2-k..." for every new user. Beta gate G4, finding 1. chooseLivePaintingCheckpoint keeps the Text to Image model when ComfyUI lists it as a checkpoint and it is SD 1.5 or of unknown family (an SD 1.5 fine-tune with an unhelpful name, which ran before), and otherwise uses the recommended epicRealism or the first SD 1.x checkpoint, saying which. With none installed it says what to install instead of starting. Text to Image's own selection is not changed. The Live Painting hint now says this instead of telling people to pick a model on Text to Image. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
MehranMarxian
added a commit
that referenced
this pull request
Nov 5, 2026
CHANGELOG section checked against git log v0.40.0-alpha..main (#167 to #172 plus the form fix on this branch): the Live Painting, Workflow Health and CPU-VRAM fixes, port 8000, the CPU-only message, the object_info snapshot test, and the beta gate and smoke run. README: the "New in" item describes v0.41 as the beta candidate, the v0.40 item stays as "In v0.40", and the verified line names ComfyUI 0.44.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed and why
Beta gate G4, finding 1. Live Painting's live tier is SD 1.5 plus the LCM LoRA, loaded through
CheckpointLoaderSimple, but it took whatever the Text to Image Model dropdown held. Since v0.39 a starter install opens Text to Image on FLUX.2 Klein, a diffusion model in another folder. So on a fresh install every live cycle failed with "Live cycle failed (1/3 consecutive): The model flux-2-k…", and every new user would hit it.The fix:
chooseLivePaintingCheckpoint, a pure function insrc/ui/tools/livePainting.tswith tests, picks the live checkpoint:epicrealism_naturalSinRC1VAE.safetensors, if installed.When it uses another checkpoint, the status reads, for example: "Live Painting runs on SD 1.5, so it uses epicrealism_naturalSinRC1VAE.safetensors instead of flux-2-klein-4b-fp8.safetensors." Text to Image's own selection is never changed.
Panel text: the Live Painting hint (
appMarkup.ts, text only, no CSS) now says this, instead of telling people to pick a model on Text to Image. The G4 row indocs/beta-gate.mdnotes the fix.Verified
tests/ui/livePaintingCheckpoint.test.ts(7 tests) covers:Checked in Photoshop 2025 by Claude, after a reload, with Text to Image left on txt2img-flux2-klein (the exact failing case from the G4 run):
epicrealism_naturalSinRC1VAE.safetensorswith the SD 1.5 LCM LoRA (lcm\SD1.5\pytorch_lora_weights.safetensors), status success.Could NOT be verified
What Mehran should check in Photoshop
Smoke checklist blocks (
docs/uxp-smoke-checklist.md):Load: UXP Developer Tool › OpenLayer › Reload.
🤖 Generated with Claude Code