Commit f044fa2
[AsyncTP] Use assertEqual instead of allClose for bf16 tests (pytorch#162041)
The async tp result and regular MM result are very close. If we adjust the allclose threshold, the test succeeds. This seems to indicate that the error is from numerical error of low precision.
Pull Request resolved: pytorch#162041
Approved by: https://github.com/danielvegamyhre, https://github.com/ngimel
ghstack dependencies: pytorch#1620401 parent a92773e commit f044fa2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
558 | 558 | | |
559 | 559 | | |
560 | 560 | | |
561 | | - | |
| 561 | + | |
562 | 562 | | |
563 | 563 | | |
564 | 564 | | |
| |||
0 commit comments