-
Notifications
You must be signed in to change notification settings - Fork 178
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 auto parallel in dit and largedit #551
Merged
nemonameless
merged 35 commits into
PaddlePaddle:develop
from
jeff41404:add_auto_parallel_in_dit
Oct 10, 2024
Merged
support auto parallel in dit and largedit #551
nemonameless
merged 35 commits into
PaddlePaddle:develop
from
jeff41404:add_auto_parallel_in_dit
Oct 10, 2024
Conversation
This file contains 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
Thanks for your contribution! |
jerrywgz
reviewed
Sep 29, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
感谢提醒,已增加使用自动并行进行训练的文档说明 |
nemonameless
approved these changes
Oct 10, 2024
jerrywgz
approved these changes
Oct 10, 2024
ZhijunLStudio
pushed a commit
to ZhijunLStudio/PaddleMIX
that referenced
this pull request
Jan 10, 2025
support auto parallel in model of Dit and LargeDit, include: - support model of Dit and LargeDit to be trained using auto parallel in dynamic graph mode (hereinafter referred to as `auto`). - support model of Dit and LargeDit to be trained using auto parallel in dynamic to static graph mode with pir (hereinafter referred to as `auto-static`). - support hybrid parallel(DP、Sharding、MP) in model of Dit and LargeDit, PP under verification. compare loss of manual parallel(present, hereinafter referred to as `manual`), `auto` and `auto-static` ![loss_h_s_pir](https://github.com/user-attachments/assets/4830bc23-5007-425a-b4f0-e2e7eec5d2f4) compare loss diff of `manual` and `auto` ![hand_auto_diff_pir](https://github.com/user-attachments/assets/339ab0bf-9260-41c7-976e-8c3ed21bdc89) compare loss diff of `manual` and `auto-static` ![hand_auto_static_diff](https://github.com/user-attachments/assets/4eb245ad-edf4-40a7-9404-44441ee8c93f) compare loss diff of `auto` and `auto-static` ![auto_auto_static_diff](https://github.com/user-attachments/assets/ac72e138-bcd3-4d39-a015-2f54ff15eb5b) --------- Co-authored-by: wangguanzhong <[email protected]> Co-authored-by: nifeng <[email protected]>
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.
support auto parallel in model of Dit and LargeDit, include:
auto
).auto-static
).compare loss of manual parallel(present, hereinafter referred to as
![loss_h_s_pir](https://private-user-images.githubusercontent.com/8555991/367496961-4830bc23-5007-425a-b4f0-e2e7eec5d2f4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MjQxNzAsIm5iZiI6MTczOTUyMzg3MCwicGF0aCI6Ii84NTU1OTkxLzM2NzQ5Njk2MS00ODMwYmMyMy01MDA3LTQyNWEtYjRmMC1lMmU3ZWVjNWQyZjQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTRUMDkwNDMwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDQ3NWQ1YjFjMWYzYmE5ZjkyMTQwNTFlODkwOGNlYzc2NzkzMTFiMzFmMGExOGFjYjAwMmUyOTViYzYxZmYzMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.X7QQexIIpzcQcuhI2CnH2p6p7ctk6P5ffNy9atmm-c0)
manual
),auto
andauto-static
compare loss diff of
![hand_auto_diff_pir](https://private-user-images.githubusercontent.com/8555991/367496978-339ab0bf-9260-41c7-976e-8c3ed21bdc89.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MjQxNzAsIm5iZiI6MTczOTUyMzg3MCwicGF0aCI6Ii84NTU1OTkxLzM2NzQ5Njk3OC0zMzlhYjBiZi05MjYwLTQxYzctOTc2ZS04YzNlZDIxYmRjODkucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTRUMDkwNDMwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjU3ZjkxNWU4ZjE3NjI5ZjAwMTlmZWZkN2E2Yzk2ZTZhMzE3ZDQ4YWViOTBiMDI2NDE2ODllMjljOWMyNWY2YyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.7KYAdc0UGEAX__2B-yhgG4-kjH9FducIPuWexdQ8PvY)
manual
andauto
compare loss diff of
![hand_auto_static_diff](https://private-user-images.githubusercontent.com/8555991/367497159-4eb245ad-edf4-40a7-9404-44441ee8c93f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MjQxNzAsIm5iZiI6MTczOTUyMzg3MCwicGF0aCI6Ii84NTU1OTkxLzM2NzQ5NzE1OS00ZWIyNDVhZC1lZGY0LTQwYTctOTQwNC00NDQ0MWVlOGM5M2YucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTRUMDkwNDMwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzVjZWU2NjIxNGNjMjk0YzgzYzdhNDM2YmE5YzM5NmM3ZGU2MDJhYWQwNDRhNWI1NzQyYzlkMDAzZjczYTliNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.QB8w8cXED9fw9vZFLOlLmfIRSQVMCjySqG7DcYoYdOg)
manual
andauto-static
compare loss diff of
![auto_auto_static_diff](https://private-user-images.githubusercontent.com/8555991/367497175-ac72e138-bcd3-4d39-a015-2f54ff15eb5b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1MjQxNzAsIm5iZiI6MTczOTUyMzg3MCwicGF0aCI6Ii84NTU1OTkxLzM2NzQ5NzE3NS1hYzcyZTEzOC1iY2QzLTRkMzktYTAxNS0yZjU0ZmYxNWViNWIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTRUMDkwNDMwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWRiOTU4OTMzNjliYmY5MzI5NTcyYjU2Zjc0ZWVhZTY5YWZiZmM4NTI3NjUyMGE3NWEzNWVlYTQwMmVhZGUwYiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.kMXZyskylPm1VaqByIxa2MXleYVYxzyPTkKFaXPHHds)
auto
andauto-static