793368af18
x1_pred is an inference tensor (computed from inference-mode weights loaded by ComfyUI). generator.unnormalize() uses in-place mul_/add_ which fails on inference tensors. Clone strips the flag. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>