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

[fx] tested the complete workflow for auto-parallel #1336

Merged
merged 4 commits into from
Jul 20, 2022

Conversation

FrankLeeeee
Copy link
Contributor

@FrankLeeeee FrankLeeeee commented Jul 18, 2022

This PR presents an example of running the complete workflow for parallelizing transformer MLP layer based on graph information. The steps involved in the workflow are model construction -> tracing -> graph annoation -> materialization and sharding -> execution. This IR pass in this PR can look for transformer MLP like structure and automatically set the linear to be column and row sharded for parallel computing.

@YuliangLiu0306 YuliangLiu0306 merged commit 2cc1175 into hpcaitech:main Jul 20, 2022
@FrankLeeeee FrankLeeeee deleted the hotfix/test-fx-workflow branch January 26, 2023 07:09
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.

2 participants