File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -356,7 +356,7 @@ def _build_pathways_head_sidecar_containers(self) -> list[Nested[Any]]:
356
356
args = [
357
357
f"--server_port={ _PATHWAYS_RESOURCE_MANAGER_PORT } " ,
358
358
"--node_type=resource_manager" ,
359
- f"--instance_count={ pathways_instance_count } " ,
359
+ f"--instance_count={ pathways_instance_count + 1 } " ,
360
360
f"--instance_type={ pathways_tpu_version } :{ system .topology } " ,
361
361
f"--gcs_scratch_location={ staging_location } " ,
362
362
"--alsologtostderr" ,
@@ -626,7 +626,7 @@ def __call__(self) -> Sequence[Nested[Any]]:
626
626
),
627
627
dict (
628
628
name = _PATHWAYS_WORKER_REPLICATED_JOB_NAME ,
629
- replicas = cfg .accelerator .num_replicas ,
629
+ replicas = cfg .accelerator .num_replicas + 1 ,
630
630
template = self ._build_pathways_worker_job (),
631
631
),
632
632
]
You can’t perform that action at this time.
0 commit comments