Add DistributedJoin and dynamic list-queue splitter mode
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user