refactor: vectorize gradient loop and fix DD node position

Replace per-pixel Python loop with vectorized torch.arange + slice
operations. Fix DifferentialDiffusion node position to avoid visual
overlap with SplitImageToTileList node 14 on the canvas.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-25 16:49:17 +01:00
parent 93b0ac22cd
commit 06b42a610b
2 changed files with 7 additions and 7 deletions

View File

@@ -412,7 +412,7 @@
{
"id": 24,
"type": "DifferentialDiffusion",
"pos": [2560, 160],
"pos": [2560, 60],
"size": [250, 46],
"flags": {},
"order": 12,