Skip to content

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

Merged
YuliangLiu0306 merged 4 commits intohpcaitech:mainfrom
FrankLeeeee:hotfix/test-fx-workflow
Jul 20, 2022
Merged

[fx] tested the complete workflow for auto-parallel#1336
YuliangLiu0306 merged 4 commits intohpcaitech:mainfrom
FrankLeeeee:hotfix/test-fx-workflow

Conversation

@FrankLeeeee
Copy link
Copy Markdown
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