Uh oh!
There was an error while loading. Please reload this page.
Sequence-parallel amax reduction fix - #74
Conversation
Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>
ksivaman
commented
Feb 14, 2023
/te-ci |
ksivaman
commented
Feb 14, 2023
@mikolajblaz has verified convergence with this fix |
ptrendx
commented
Feb 14, 2023
@ksivaman Could you give some background on the issue being fixed here? |
ksivaman
commented
Feb 14, 2023
We have a |
ksivaman
commented
Feb 15, 2023
/te-ci |
| # Previous iteration was grad_enabled | ||
| if self.fp8_meta.get("update_amax_and_scale_fwd", False): | ||
| if self.fp8_meta["recipe"].reduce_amax: | ||
| if self.fp8_meta["recipe"].reduce_amax or self.sequence_parallel: |
There was a problem hiding this comment.
I think there should be some sort of one-time warning if those two settings are set differently, since you are basically overriding the user here -> they should know that the amax reduction actually still happens.
Signed-off-by: Kirthi Shankar Sivamani <ksivamani@nvidia.com>
ksivaman
commented
Feb 16, 2023
/te-ci |
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: Kirthi Shankar Sivamani ksivamani@nvidia.com