8000 Flaky Dynamo test: TestAutograd.test_gradcheck_nondeterministic · Issue #145231 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

Flaky Dynamo test: TestAutograd.test_gradcheck_nondeterministic #145231

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ya 8000 nboliang opened this issue Jan 21, 2025 · 0 comments
Open

Flaky Dynamo test: TestAutograd.test_gradcheck_nondeterministic #145231

yanboliang opened this issue Jan 21, 2025 · 0 comments
Labels
module: autograd Related to torch.autograd, and the autograd engine in general module: testing Issues related to the torch.testing module (not tests) oncall: pt2 triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Comments

@yanboliang
Copy link
Contributor
yanboliang commented Jan 21, 2025

🐛 Describe the bug

Reproduce command:

PYTORCH_TEST_WITH_DYNAMO=1 python test/test_autograd.py TestAutograd.test_gradcheck_nondeterministic

This issue was discovered while I was working on #142830. The core problem is that this unit test produces different results on CI compared to running it locally. The test passes in the main branch, but if I remove the assertRaisesRegex assertion (#145205), the test still passes locally but fails on CI. I suspect that even though it currently passes on CI, it’s likely coincidental.

After making changes in #142830, this test began failing. However, I’ve been unable to reproduce the failure locally.

There is a similar flaky test marked at #127115.

Versions

main

cc @ezyang @albanD @gqchen @pearu @nikitaved @soulitzer @Varal7 @xmfan @chauhang @penguinwu

@malfet malfet added module: autograd Related to torch.autograd, and the autograd engine in general module: testing Issues related to the torch.testing module (not tests) oncall: pt2 labels Jan 21, 2025
@eellison eellison added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: autograd Related to torch.autograd, and the autograd engine in general module: testing Issues related to the torch.testing module (not tests) oncall: pt2 triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module
Projects
None yet
Development

No branches or pull requests

3 participants
0