Files
automatic/modules
CalamitousFelicitousness 0769d423a7 fix(upscale): make SeedVR2 generation_step patch idempotent
UpscalerSeedVR.load_model() rebinds the module-global
generation.generation_step (called by name inside generation_loop) to
the instance's model_step wrapper, keeping the previous value to call
back into. That global was never restored, so the second pass through
load_model() saved the wrapper itself as the "original", making
model_step() call itself -> RecursionError.

The second pass is reached on any model (re)load: with upscaler_unload
enabled (self.model reset to None after each run) every subsequent run
recurses, and switching SeedVR variants (self.model_loaded != model_name)
triggers it even without unload.

Stash the pristine generation_step on the module once and have the
wrapper call that, so repeated loads never wrap the wrapper.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 10:18:21 +01:00
..
2026-06-04 12:36:10 +02:00
2026-05-11 08:36:49 +02:00
2026-06-04 12:36:10 +02:00
2026-06-04 12:36:10 +02:00
2026-05-18 21:38:09 +03:00
2026-06-16 10:16:17 +02:00
2026-05-11 08:13:57 +02:00
2026-06-04 12:36:10 +02:00
2026-06-04 12:36:10 +02:00
2026-06-04 12:36:10 +02:00
2026-06-04 12:36:10 +02:00
2026-05-11 08:36:49 +02:00
2026-06-04 12:36:10 +02:00
2026-06-16 08:47:19 +02:00
2026-06-04 12:36:10 +02:00
2026-06-04 12:36:10 +02:00
2026-05-17 10:41:09 -07:00
2026-04-28 11:00:19 +02:00
2026-06-04 12:36:10 +02:00
2026-06-04 12:36:10 +02:00
2026-05-16 07:19:52 +02:00
2026-05-16 07:19:52 +02:00
2026-04-29 07:59:43 +02:00
2026-05-11 08:13:57 +02:00
2026-04-26 20:21:00 -07:00
2026-05-29 21:10:56 +02:00
2026-06-15 08:45:58 +02:00
2026-05-19 11:56:20 +02:00
2026-05-28 11:54:08 +02:00
2026-06-02 08:03:27 +02:00
2026-05-09 13:32:29 +02:00
2026-05-10 21:45:58 +02:00
2026-05-07 07:20:20 +02:00
2026-05-10 08:55:44 +02:00
2026-05-08 14:44:00 +02:00
2026-06-10 08:09:00 +02:00
2026-06-02 08:03:27 +02:00
2026-05-11 08:36:49 +02:00
2026-06-04 12:36:10 +02:00
2026-06-08 12:03:37 +02:00
2026-06-08 12:03:37 +02:00
2026-06-03 09:46:44 +02:00
2026-05-17 10:40:28 -07:00
2026-05-27 16:31:59 +02:00
2026-06-05 20:00:49 +02:00
2026-05-11 08:13:57 +02:00
2026-06-05 20:00:49 +02:00
2026-06-04 12:36:10 +02:00
2026-06-16 10:16:17 +02:00
2026-06-04 12:36:10 +02:00
2026-04-29 07:59:43 +02:00
2026-05-19 11:56:20 +02:00
2026-06-04 12:36:10 +02:00
2026-05-21 09:23:10 +02:00
2026-05-23 08:32:33 +02:00
2026-06-01 11:54:26 +02:00
2026-04-06 01:06:19 -07:00
2026-05-11 09:34:17 +02:00
2026-04-06 01:06:19 -07:00
2026-04-06 01:06:19 -07:00