Commit 6aaabc1
[release/2.8] layernorm tests: Tweak test thresholds for comparing tensors (#2583)
After PR: pytorch#156600, this test was
failing internally on large tensors because the differences were greater
than tolerances on some cuda devices.
We now raise the tolerances for larger tensors.
Pull Request resolved: pytorch#156699
Approved by: https://github.com/eqy, https://github.com/ngimel
(cherry picked from commit 36dd598)
Fixes SWDEV-547998
Co-authored-by: Ahmad Sharif <[email protected]>1 parent 7b2a4fd commit 6aaabc1
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7437 | 7437 | | |
7438 | 7438 | | |
7439 | 7439 | | |
| 7440 | + | |
| 7441 | + | |
| 7442 | + | |
| 7443 | + | |
| 7444 | + | |
7440 | 7445 | | |
7441 | | - | |
| 7446 | + | |
7442 | 7447 | | |
7443 | | - | |
| 7448 | + | |
7444 | 7449 | | |
7445 | 7450 | | |
7446 | 7451 | | |
| |||
0 commit comments