Skip to content

Commit f094440

Browse files
Correctly report number of workers
1 parent 204a3b1 commit f094440

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/scip/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ def main( # noqa: C901
154154
t = datetime.utcnow().isoformat(timespec="seconds")
155155
logger.info(f"Starting at {t}")
156156
logger.info(f"Running pipeline for {','.join(paths)}")
157+
158+
n_workers = len(context.client.scheduler_info()["workers"])
157159
logger.info(f"Running with {n_workers} workers and {n_threads} threads per worker")
158160
logger.info(f"Mode: {mode}")
159161
logger.info(f"GPUs: {gpu}")

0 commit comments

Comments
 (0)