Summary:
Adding numeric correctness check for backward.
Verifying that TBE inplace weights updates are numerically correct with eager updates, float inputs with requires_grad grads are numerically correct with eager grads.
I saw some data dependent errors on subsequent inputs for VB path, disabling checks for extra inputs for now (n_extra_numerics_checks_inputs = 0 and TODO in the source).
Summary: Adding numeric correctness check for backward. Verifying that TBE inplace weights updates are numerically correct with eager updates, float inputs with requires_grad grads are numerically correct with eager grads.
I saw some data dependent errors on subsequent inputs for VB path, disabling checks for extra inputs for now (
n_extra_numerics_checks_inputs = 0
and TODO in the source).Differential Revision: D58948988