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] add resnet autoparallel unit test #1589

Conversation

YuliangLiu0306
Copy link
Contributor

This PR does two things:

  1. Add resnet autoparallel unit test.
  2. Add the weight grad communication cost for conv. Typically, the weight of convulotion network is much smaller than activation and the all reduce communication could be overlapped with the backward computing, so it is not counted in previous PR. However, in some extreme cases, the parameters could be much larger than activation, if the communication cost to computing backward parameter grad is still omitted, solver could not get a reasonable solution.

@FrankLeeeee FrankLeeeee merged commit d164449 into hpcaitech:main Sep 13, 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