Skip to content

Commit e2118d0

Browse files
AKlonieckiastachowiczhabanaAdam Stachowicz
authored
Align distributed_runner with openmpi 5.0 (#2320) (#2341)
Co-authored-by: Adam Stachowicz <105052242+astachowiczhabana@users.noreply.github.com> Co-authored-by: Adam Stachowicz <astachow@habana.ai>
1 parent f03351d commit e2118d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

optimum/habana/distributed/distributed_runner.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ def create_single_node_setup_mpirun(self):
161161

162162
mpi_cmd = self.setup_config_env_mpirun()
163163
self._interpreter = (
164-
f"mpirun -n {self._world_size} --bind-to core {mpi_cmd} --rank-by core --report-bindings"
164+
f"mpirun -n {self._world_size} --bind-to core {mpi_cmd} --rank-by slot --report-bindings"
165165
f" --allow-run-as-root {sys.executable} "
166166
)
167167

0 commit comments

Comments
 (0)