8000 [PP] Fix disabled flaky tests by H-Huang · Pull Request #154856 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/distributed/pipelining/test_schedule_multiproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ def test_grad_with_manual_interleaved(self, ScheduleClass, use_new_runtime):
for name, p in stage_module.named_parameters():
ref_p = ref_submod.get_parameter(name)
try:
torch.testing.assert_close(p.grad, ref_p.grad, rtol=1e-5, atol=4e-5)
torch.testing.assert_close(p.grad, ref_p.grad, rtol=1e-5, atol=1e-3)
except AssertionError:
print(f"Gradient test failed for {name}: {p.grad} vs {ref_p.grad}")
raise
Expand Down
Loading
0