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] introduced baseclass for op handler and reduced code redundancy #1471

Merged

Conversation

FrankLeeeee
Copy link
Contributor

This PR introduces the base class for the operator handler for better API consistency. The three generate_sharding_sepc API is merged into one to remove redundancy as well.


class DotHandler(OperatorHanlder):
"""
A OperatorHandler which deals with the sharding strategies of linear matrix multiplication.\
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete the random slash at the end of this line.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

@YuliangLiu0306 YuliangLiu0306 merged commit 9dae9bb into hpcaitech:main Aug 19, 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