Commit 6124aa0
layernorm tests: Tweak test thresholds for comparing tensors (pytorch#156699)
After I landed this 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)1 parent 7b2a4fd commit 6124aa0
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