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] change the following nodes strategies generation logic #1636

Conversation

YuliangLiu0306
Copy link
Contributor

@YuliangLiu0306 YuliangLiu0306 commented Sep 23, 2022

This PR changes the following nodes(nodes will be merged into other nodes) strategies generation logic, new version handlers for following nodes will keep the duplicated strategies. To avoid the duplicated check in StrategiesConstructor, handler will attatch the index of input strategy on new strategy name.

This behavior will not increase the seaching space, because no matter how many strategies generated by handler, the following nodes will be merged and solver won't create a new variable for it.

@YuliangLiu0306
Copy link
Contributor Author

image

@YuliangLiu0306 YuliangLiu0306 merged commit 03978aa into hpcaitech:main Sep 27, 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.

None yet

2 participants