From 14fabf01f9285eb96a9229df7852fb30265bc22b Mon Sep 17 00:00:00 2001 From: Ethanfel Date: Thu, 9 Apr 2026 18:40:21 +0200 Subject: [PATCH] fix: reduce opt_lr step to 0.001 to allow finer lr control in DITTO Co-Authored-By: Claude Sonnet 4.6 --- nodes/selva_ditto_optimizer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodes/selva_ditto_optimizer.py b/nodes/selva_ditto_optimizer.py index b529871..07d469a 100644 --- a/nodes/selva_ditto_optimizer.py +++ b/nodes/selva_ditto_optimizer.py @@ -125,9 +125,9 @@ class SelvaDittoOptimizer: "each step requires ~2 DiT forward passes.", }), "opt_lr": ("FLOAT", { - "default": 0.1, "min": 0.001, "max": 2.0, "step": 0.01, + "default": 0.02, "min": 0.001, "max": 2.0, "step": 0.001, "tooltip": "Adam learning rate for x_0 optimization. " - "0.1 is the DITTO paper default.", + "0.02–0.05 is recommended; 0.1 (paper default) causes oscillation.", }), "n_ode_steps": ("INT", { "default": 10, "min": 5, "max": 50,