Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Commit 33ee882

Browse files
committed
set scale to 60
1 parent 5342c42 commit 33ee882

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

mti_nma/bin/all.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ def run(
124124
log.info("Created SLURMCluster")
125125

126126
# Scale workers
127-
cluster.scale(80)
127+
cluster.scale(60)
128128

129129
# Use the port from the created connector to set executor address
130130
distributed_executor_address = cluster.scheduler_address
@@ -231,6 +231,10 @@ def run(
231231
# Run flow, get ending state, and visualize pipeline
232232
flow.run(executor=exe)
233233

234+
# Create pipeline visualization if flag is True
235+
# Note:
236+
# Flag False by default as a required package is not pip-installable
237+
# To use this feature, first `conda install graphviz`
234238
if flow_viz:
235239
flow.visualize()
236240

0 commit comments

Comments
 (0)