From 22d523ee020ccd1af68604e69a2ab69c15854c05 Mon Sep 17 00:00:00 2001 From: Shaokai Jerry Lin Date: Tue, 12 Nov 2024 15:49:16 -0800 Subject: [PATCH] Remove worker+1 in the EGS scheduler --- .../main/java/org/lflang/analyses/scheduler/EgsScheduler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/lflang/analyses/scheduler/EgsScheduler.java b/core/src/main/java/org/lflang/analyses/scheduler/EgsScheduler.java index c7b552b80f..4fb7ec1c5c 100644 --- a/core/src/main/java/org/lflang/analyses/scheduler/EgsScheduler.java +++ b/core/src/main/java/org/lflang/analyses/scheduler/EgsScheduler.java @@ -57,7 +57,7 @@ public Dag partitionDag( partionedDagDotFile.toString(), "--workers", String.valueOf( - workers + 1), // There needs to be +1 for the dummy nodes, otherwise EGS complains. + workers), // Does not need to +1 for virtual nodes. "--model", new File(egsDir, "models/pretrained").getAbsolutePath());