Files
ethanfel-ComfyUI-LoRA-Optim…/tests
EthanfelandClaude Sonnet 4.6 42a23a996e fix: guard 1D inputs in _extract_lora_svd; add CLIP inputs to LoRAExtractFromModel
- _extract_lora_svd: return None early for 1D tensors (bias vectors) to
  prevent torch.linalg.svd crash; add test_1d_delta_returns_none
- LoRAExtractFromModel: add optional base_clip/finetuned_clip inputs;
  fix model_lora_keys_clip to use cond_stage_model instead of model;
  merge CLIP state dicts into base_sd/fine_sd when both CLIPs provided;
  warn when only one CLIP is connected; remove redundant import comfy.lora

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-01 11:38:54 +02:00
..