torchrec
torchrec copied to clipboard
Add numerical equivalence tests
Summary: Adding numerical equivalence tests for different kernel types.
Note that when stochastic rounding = True + is_training = True is always a bit tricky. However, from what FBGEMM team said, it is not guaranteed to have iteration-wise equivalence, but it's guaranteed to have numerical equivalence in the long term.
Differential Revision: D53878573
This pull request was exported from Phabricator. Differential Revision: D53878573
This pull request was exported from Phabricator. Differential Revision: D53878573