[zero] reorganize zero/gemini folder structure#3424
Merged
FrankLeeeee merged 16 commits intohpcaitech:mainfrom Apr 4, 2023
Merged
[zero] reorganize zero/gemini folder structure#3424FrankLeeeee merged 16 commits intohpcaitech:mainfrom
FrankLeeeee merged 16 commits intohpcaitech:mainfrom
Conversation
Contributor
|
The code coverage for the changed files is 79%. Click me to view the complete report |
1 similar comment
Contributor
|
The code coverage for the changed files is 79%. Click me to view the complete report |
FrankLeeeee
approved these changes
Apr 4, 2023
yhna940
added a commit
to EleutherAI/oslo
that referenced
this pull request
Apr 19, 2023
…, and In-Place Dist Tensor Conversion (#178) ## Title - Improve Zero3 Implementation: Search Utility, Consolidation, and In-Place Dist Tensor Conversion ## Description This PR aims to improve the zero3 implementation with the following major changes: 1. Added a search utility for configuring chunk structures. 2. Consolidated zero-related implementations into a single directory (Motivated by this [commit](hpcaitech/ColossalAI#3424)). 3. Added a process for converting to custom tensors in-place (Motivated by this [commit](hpcaitech/ColossalAI#3379)). 4. Unittest Minor changes include: 1. Instantiation of chunk manager and hetero memory manager within fsdp. 2. Several small bug fixes. ## Linked Issues - N/A --------- Co-authored-by: Junhwa Song <ethan9867@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📌 Checklist before creating the PR
[doc/gemini/tensor/...]: A concise description🚨 Issue number
Closes #3422
📝 What does this PR do?
Reorganize zero/gemini folder structure and fix some unit tests.
Current structure should be like:
💥 Checklist before requesting a review
⭐️ Do you enjoy contributing to Colossal-AI?
Tell us more if you don't enjoy contributing to Colossal-AI.