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

[autoparallel] shard param and buffer as expected #1753

Merged

Conversation

YuliangLiu0306
Copy link
Contributor

what does this PR do

  1. as PR([autoparallel] fixed shape consistency backward not invoked error #1745) mentioned, the previous implementation may lead to autograd backward function not invoked, this problem has been solved in this PR.
  2. Update the solution_annotation_pass to make sure Parameters and Buffers are shard as expected.
  3. Refactor the runtime apply function and remove the previous autograd function.

@FrankLeeeee FrankLeeeee merged commit 980ed21 into hpcaitech:main Oct 21, 2022
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