Files
ethanfel-ComfyUI-LoRA-Optim…/tests
EthanfelandClaude Fable 5 637dccfea7 fix(inline): dedicated IS_CHANGED + honest passthrough/arch reporting
- IS_CHANGED: the inherited LoRAOptimizer signature expects lora_stack and
  raises on inline's inputs -> ComfyUI treated the node as always-changed
  and re-merged on every queue press (the in-node merge cache cannot
  rescue it: its key folds in id() of the fresh stripped clone). The new
  classmethod keys on model/clip patches_uuid + consulted widgets (slots
  1..lora_count only) + settings content, so ComfyUI's execution cache
  skips unchanged re-queues entirely. Salt comment corrected to
  defense-in-depth (S3).
- Passthrough branch: patches present but zero capturable groups now
  reports "N non-mergeable patch entries ... passed through" instead of
  the wrong "place this node AFTER your loaders" advice (I1).
- Passthrough count includes clip-side remainder (S1).
- Fingerprint warns "architecture: unknown (inline capture)" whenever the
  effective preset is auto — virtual items skip key-based detection; a
  Settings-node preset suppresses the warning (I2).
- _payload_rank returns None for LoKr (weights[1] is the w2 Kronecker
  factor, not a rank) so the fingerprint says "dense" instead of lying (S2).
- New execute-level test: advanced-visibility per-slot widgets reach the
  stack items through execute_inline (S4).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-06 22:14:31 +02:00
..