Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multi-node distributed training with MLU backend #1266

Merged
merged 2 commits into from
Jul 26, 2023

Conversation

josh6688
Copy link
Contributor

Motivation

Fix the problem that multi-node distributed training would fail at initial when training with MLU.

Modification

In mmengine/dist/util.py, we change rank to local rank when initializing process group with MLU.

BC-breaking (Optional)

None

Use cases (Optional)

None

Checklist

  1. Pre-commit or other linting tools are used to fix the potential lint issues.
  2. The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
  3. If the modification has potential influence on downstream projects, this PR should be tested with downstream projects, like MMDet or MMCls.
  4. The documentation has been modified accordingly, like docstring or example tutorials.

mmengine/dist/utils.py Outdated Show resolved Hide resolved
@zhouzaida zhouzaida changed the title [fix] Support multi-node distributed training with MLU backend Support multi-node distributed training with MLU backend Jul 26, 2023
@zhouzaida zhouzaida merged commit 78205c3 into open-mmlab:main Jul 26, 2023
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants