Skip to content

Commit bcbb45b

Browse files
janeyx99pytorchmergebot
authored andcommitted
remove tolerance override for dynamo test_mixed_device_dtype in SGD (pytorch#163088)
In reaction to pytorch#116202 (comment) Pull Request resolved: pytorch#163088 Approved by: https://github.com/albanD
1 parent 3cad240 commit bcbb45b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

torch/testing/_internal/common_optimizers.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2178,16 +2178,6 @@ def _get_optim_inputs_including_global_cliquey_kwargs(
21782178
"TestOptimRenewed",
21792179
"test_complex_2d",
21802180
),
2181-
DecorateInfo(
2182-
toleranceOverride(
2183-
{ # previously atol=5-05, rtol=0.001, https://github.com/pytorch/pytorch/issues/116202
2184-
torch.float32: tol(atol=5e-04, rtol=0.007),
2185-
}
2186-
),
2187-
"TestOptimRenewed",
2188-
"test_mixed_device_dtype",
2189-
active_if=TEST_WITH_TORCHDYNAMO,
2190-
),
21912181
DecorateInfo(
21922182
skipIfTorchDynamo(
21932183
"This test uses mocks, which dynamo does not support"

0 commit comments

Comments
 (0)