Skip to content

[device] support init device mesh from process group#3990

Merged
FrankLeeeee merged 1 commit intohpcaitech:refactor/shardformerfrom
FrankLeeeee:device/support-init-from-process-group
Jun 15, 2023
Merged

[device] support init device mesh from process group#3990
FrankLeeeee merged 1 commit intohpcaitech:refactor/shardformerfrom
FrankLeeeee:device/support-init-from-process-group

Conversation

@FrankLeeeee
Copy link
Copy Markdown
Contributor

📌 Checklist before creating the PR

  • I have created an issue for this PR for traceability
  • The title follows the standard format: [doc/gemini/tensor/...]: A concise description
  • I have added relevant tags if possible for us to better distinguish different PRs

🚨 Issue number

Link this PR to your issue with words like fixed to automatically close the linked issue upon merge

e.g. fixed #1234, closed #1234, resolved #1234

Fixed #3989

📝 What does this PR do?

Summarize your work here.
if you have any plots/diagrams/screenshots/tables, please attach them here.

This PR added support for device mesh init from process group.

💥 Checklist before requesting a review

  • I have linked my PR to an issue (instruction)
  • My issue clearly describes the problem/feature/proposal, with diagrams/charts/table/code if possible
  • I have performed a self-review of my code
  • I have added thorough tests.
  • I have added docstrings for all the functions/methods I implemented

⭐️ Do you enjoy contributing to Colossal-AI?

  • 🌝 Yes, I do.
  • 🌚 No, I don't.

Tell us more if you don't enjoy contributing to Colossal-AI.

@FrankLeeeee FrankLeeeee linked an issue Jun 15, 2023 that may be closed by this pull request
@FrankLeeeee FrankLeeeee added the API related to API changes label Jun 15, 2023
@FrankLeeeee FrankLeeeee force-pushed the device/support-init-from-process-group branch from d031a3e to 47e8491 Compare June 15, 2023 02:51
@FrankLeeeee
Copy link
Copy Markdown
Contributor Author

Test screenshot:

Screenshot 2023-06-15 at 10 51 39

@FrankLeeeee FrankLeeeee merged commit 3a56767 into hpcaitech:refactor/shardformer Jun 15, 2023
@FrankLeeeee FrankLeeeee deleted the device/support-init-from-process-group branch June 15, 2023 03:49
FrankLeeeee added a commit to FrankLeeeee/ColossalAI that referenced this pull request Jun 16, 2023
flybird11111 pushed a commit to flybird11111/ColossalAI that referenced this pull request Jul 3, 2023
ver217 pushed a commit to ver217/ColossalAI that referenced this pull request Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API related to API changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[device] support init from process group

2 participants