Judge: add seed (reproducible output) + interrupt support

New 'seed' input seeds sampling (torch.manual_seed before generation) so a fixed seed
reproduces the same output — no reroll when re-queueing while tweaking downstream nodes;
bump it to reroll (named 'seed' so the frontend adds control_after_generate). Generation
now honors ComfyUI cancel: a StoppingCriteria halts model.generate() promptly and
_check_interrupt() raises between passes. Workflows updated with the seed widget.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-05 00:15:05 +02:00
co-authored by Claude Opus 4.8
parent 64e2110835
commit 4003dbb6e8
4 changed files with 151 additions and 28 deletions
+2
View File
@@ -208,6 +208,8 @@
"bf16",
3072,
0.4,
0,
"fixed",
false,
false,
true,