The FL Ksampler nodes (Plus, PlusV2, Basic, Sigma, ContextWindow,
XYZPlot) all run VAEDecode automatically against the sampled LATENT
to populate the IMAGE output socket. That works for SD / SDXL / Flux
where the sampler's latent shape matches what the paired VAE
expects, but it crashed on Wan / LTX-style packed-latent / video
models with an unhelpful low-level "expected 16 channels, got 128"
RuntimeError from the VAE's first conv layer.
Add a shared safe_vae_decode helper in nodes/ksamplers/_vae_helpers.py
that pre-checks samples.shape[1] against vae.latent_channels (a
public attribute ComfyUI's comfy.sd.VAE already sets per model).
On mismatch we skip the auto-decode entirely, log a single
warning line telling the user to wire an external VAE Decode node,
and return a 1x1 placeholder image so downstream IMAGE consumers
don't break. The LATENT output continues to flow unchanged in all
cases.
Routes all 6 ksampler nodes through the helper.
Bumps version 2.9.0 -> 2.9.1.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
README accuracy pass:
- Add 37 missing node rows across image / utility / ksamplers / ai /
audio / vfx / prompting / wip tables.
- Add new Kartel category section (FL_KartelJobInput,
FL_KartelJobOutput) plus a Table of Contents entry.
- Remove stale entries (FL_CodeNode, FL_HunyuanDelight) for nodes
that no longer exist in the codebase.
- Update FL_SamplerStrings / FL_SchedulerStrings descriptions to
reflect dynamic population via comfy.samplers.KSampler.SAMPLERS /
.SCHEDULERS (per PR #105).
- Polish stub-node labelling (FL_BulletHellGame, FL_TetrisGame,
FL_TimeLine) so they read as deliberate placeholders.
- Fix 15 broken images/nodes/*.png references whose filenames had
drifted from the README; drop 3 lingering screenshot blocks that
pointed at images that never existed.
Repo hygiene:
- Add Apache-2.0 LICENSE file and change pyproject.toml to
license = {file = "LICENSE"} (silences Registry validation
warning and matches the FL_VLM / FL_VoxCPM packs).
- Append node.zip / *.zip / temp_downloads/ to .gitignore so build
artifacts stop showing up in git status.
- Demote google-genai import-failure prints to logger.warning /
logger.info so they no longer spam stdout on every ComfyUI
startup when google-genai isn't installed.
Bumps version 2.8.0 -> 2.9.0.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Applied via `git add --renormalize .` after adding .gitattributes.
No semantic changes; only line-ending normalization in nodes/sup.py
and nodes/utils.py.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sets * text=auto eol=lf to standardize line endings to LF in the
index, silencing the recurring "LF will be replaced by CRLF" warning
on every commit. Marks binary asset types so git treats them
correctly.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>