Skip to content

[BUG]: Using mpirun to launch multi-node training stucks in colossalai.launch_from_openmpi #2768

@pluiez

Description

@pluiez

🐛 Describe the bug

Running mpirun to lanuch distrtibuted training on 2 nodes (2x8 GPUs) stucks in colossalai.launch_from_openmpi() function. The 16 processes can be found using top command on the 2 nodes.

Lanuch command:
mpirun --allow-run-as-root -np 16 -hostfile hosts python train.py --config configs/config.py --host 10.80.210.83 --port 29500

The hosts file contains the following content:

10.80.210.83 slots=8
10.80.209.79 slots=8

Environment

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions