8000 [PP] Fix disable flaky tests · pytorch/pytorch@123a8ba · GitHub
[go: up one dir, main page]

Skip to content

Commit 123a8ba

Browse files
committed
[PP] Fix disable flaky tests
ghstack-source-id: e127a12 Pull Request resolved: #154856
1 parent 0d0058d commit 123a8ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/distributed/pipelining/test_schedule_multiproc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ def test_grad_with_manual_interleaved(self, ScheduleClass, use_new_runtime):
513513
for name, p in stage_module.named_parameters():
514514
ref_p = ref_submod.get_parameter(name)
515515
try:
516-
torch.testing.assert_close(p.grad, ref_p.grad, rtol=1e-5, atol=4e-5)
516+
torch.testing.assert_close(p.grad, ref_p.grad, rtol=1e-5, atol=1e-3)
517517
except AssertionError:
518518
print(f"Gradient test failed for {name}: {p.grad} vs {ref_p.grad}")
519519
raise

0 commit comments

Comments
 (0)
0