Skip to content

[booster] implemented the cluster module#3191

Merged
FrankLeeeee merged 2 commits intohpcaitech:mainfrom
FrankLeeeee:feature/cluster-env
Mar 22, 2023
Merged

[booster] implemented the cluster module#3191
FrankLeeeee merged 2 commits intohpcaitech:mainfrom
FrankLeeeee:feature/cluster-env

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 #3051

📝 What does this PR do?

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

This PR implemented a cluster module to help to coordinate and manage the distributed information in the environment. The DistCoordinator is a singleton class which provides utility functions for the user and other modules. The two managers will be used by the features such as hybrid parallelism/gemini/auto parallelism to manage the process group/device mesh etc.

@YuliangLiu0306 will work on a separate PR to implement DeviceMeshManager .

💥 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 added the API related to API changes label Mar 21, 2023
@FrankLeeeee FrankLeeeee merged commit e3ad88f into hpcaitech:main Mar 22, 2023
@FrankLeeeee FrankLeeeee deleted the feature/cluster-env branch March 22, 2023 09:12
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.

[booster] implement environment table

2 participants