Add DistributedJoin and dynamic list-queue splitter mode

This commit is contained in:
Robert Wojciechowski
2026-03-01 23:29:50 +00:00
parent e37a001d59
commit 34123a0d30
13 changed files with 1096 additions and 24 deletions
+1
View File
@@ -227,6 +227,7 @@ export const NODE_CLASSES = {
DISTRIBUTED_LIST_SPLITTER: 'DistributedListSplitter',
DISTRIBUTED_LIST_COLLECTOR: 'DistributedListCollector',
DISTRIBUTED_BRANCH: 'DistributedBranch',
DISTRIBUTED_JOIN: 'DistributedJoin',
DISTRIBUTED_SEED: 'DistributedSeed',
DISTRIBUTED_EMPTY_IMAGE: 'DistributedEmptyImage',
UPSCALE_DISTRIBUTED: 'UltimateSDUpscaleDistributed',
+2 -1
View File
@@ -10,9 +10,10 @@ export function setupInterceptor(extension) {
const hasListSplitter = findNodesByClass(prompt.output, NODE_CLASSES.DISTRIBUTED_LIST_SPLITTER).length > 0;
const hasListCollector = findNodesByClass(prompt.output, NODE_CLASSES.DISTRIBUTED_LIST_COLLECTOR).length > 0;
const hasBranch = findNodesByClass(prompt.output, NODE_CLASSES.DISTRIBUTED_BRANCH).length > 0;
const hasJoin = findNodesByClass(prompt.output, NODE_CLASSES.DISTRIBUTED_JOIN).length > 0;
const hasDistUpscale = findNodesByClass(prompt.output, NODE_CLASSES.UPSCALE_DISTRIBUTED).length > 0;
if (hasCollector || hasListSplitter || hasListCollector || hasBranch || hasDistUpscale) {
if (hasCollector || hasListSplitter || hasListCollector || hasBranch || hasJoin || hasDistUpscale) {
const result = await executeParallelDistributed(extension, prompt);
// Immediate status check for instant feedback
checkAllWorkerStatuses(extension);