Skip to content

Commit

Permalink
turn off I_MPI_PIN for impi launcher (#4531)
Browse files Browse the repository at this point in the history
Co-authored-by: Olatunji Ruwase <olruwase@microsoft.com>
  • Loading branch information
delock and tjruwase authored Oct 19, 2023
1 parent c7724c6 commit 04cd6af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deepspeed/launcher/multinode_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,9 @@ def get_cmd(self, environment, active_resources):
export_cmd += ['-genv', 'WORLD_SIZE', str(total_process_count)]
export_cmd += ['-genv', 'LOCAL_SIZE', str(process_per_node)]

# turn off IMPI core binding, use deepspeed's own core binding
export_cmd += ['-genv', 'I_MPI_PIN', '0']

export_cmd += ['-hosts']
hosts = ""
for i, host in enumerate(self.resource_pool.keys()):
Expand Down

0 comments on commit 04cd6af

Please sign in to comment.