Fix assert on Lamb optimizers with BF16
@loadams, let's add a unit test as well.
@loadams Just fail on this assert when using lamb with bf16. May I ask if this will keep going?
@loadams Just fail on this assert when using lamb with bf16. May I ask if this will keep going?
Hi @Liangliang-Ma - apologies, I lost track of this PR. I'll work on getting this PR updated and merged.
@loadams Just fail on this assert when using lamb with bf16. May I ask if this will keep going?
Hi @Liangliang-Ma - apologies, I lost track of this PR. I'll work on getting this PR updated and merged.
@Liangliang-Ma - does this branch resolve your issue? Or do you have any other feedback on the PR?
@loadams Just fail on this assert when using lamb with bf16. May I ask if this will keep going?
Hi @Liangliang-Ma - apologies, I lost track of this PR. I'll work on getting this PR updated and merged.
@Liangliang-Ma - does this branch resolve your issue? Or do you have any other feedback on the PR?
Yes, this one works.
Failing HPU tests are a transformers issue that should be fixed in transformers soon.