Skip to content
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

DISABLED test_dynamic_shapes (__main__.TestCompiledAutograd) #125055

Open
pytorch-bot bot opened this issue Apr 26, 2024 · 2 comments
Open

DISABLED test_dynamic_shapes (__main__.TestCompiledAutograd) #125055

pytorch-bot bot opened this issue Apr 26, 2024 · 2 comments
Labels
module: flaky-tests Problem is a flaky test in CI module: inductor skipped Denotes a (flaky) test currently skipped in CI. triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Comments

@pytorch-bot
Copy link

pytorch-bot bot commented Apr 26, 2024

Platforms: linux, rocm

This test was disabled because it is failing in CI. See recent examples and the most recent trunk workflow logs.

Over the past 3 hours, it has been determined flaky in 10 workflow(s) with 30 failures and 10 successes.

Debugging instructions (after clicking on the recent samples link):
DO NOT ASSUME THINGS ARE OKAY IF THE CI IS GREEN. We now shield flaky tests from developers so CI will thus be green but it will be harder to parse the logs.
To find relevant log snippets:

  1. Click on the workflow logs linked above
  2. Click on the Test step of the job so that it is expanded. Otherwise, the grepping will not work.
  3. Grep for test_dynamic_shapes
  4. There should be several instances run (as flaky tests are rerun in CI) from which you can study the logs.
Sample error message
Traceback (most recent call last):
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/_inductor/test_case.py", line 34, in tearDown
    super().tearDown()
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/_dynamo/test_case.py", line 67, in tearDown
    reset()
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/_dynamo/__init__.py", line 79, in reset
    _reset_guarded_backend_cache()
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/_dynamo/eval_frame.py", line 88, in _reset_guarded_backend_cache
    backend.reset()
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/__init__.py", line 1753, in reset
    reset_cudagraph_trees()
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/_inductor/cudagraph_trees.py", line 301, in reset_cudagraph_trees
    for device, lock in locks_dict.items():
SystemError: /croot/python-split_1711037784081/work/Objects/dictobject.c:1514: bad argument to internal function

Test file path: inductor/test_compiled_autograd.py

cc @clee2000 @voznesenskym @penguinwu @EikanWang @jgong5 @Guobing-Chen @XiaobingSuper @zhuhaozhe @blzheng @wenzhe-nrv @jiayisunx @peterbell10 @ipiszy @yf225 @chenyang78 @kadeng @muchulee8 @ColinPeppler @amjames @desertfire @chauhang

@pytorch-bot pytorch-bot bot added module: flaky-tests Problem is a flaky test in CI module: inductor skipped Denotes a (flaky) test currently skipped in CI. triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module labels Apr 26, 2024
Copy link
Author

pytorch-bot bot commented Apr 26, 2024

Hello there! From the DISABLED prefix in this issue title, it looks like you are attempting to disable a test in PyTorch CI. The information I have parsed is below:
  • Test name: test_dynamic_shapes (__main__.TestCompiledAutograd)
  • Platforms for which to skip the test: linux, rocm
  • Disabled by pytorch-bot[bot]

Within ~15 minutes, test_dynamic_shapes (__main__.TestCompiledAutograd) will be disabled in PyTorch CI for these platforms: linux, rocm. Please verify that your test name looks correct, e.g., test_cuda_assert_async (__main__.TestCuda).

To modify the platforms list, please include a line in the issue body, like below. The default action will disable the test for all platforms if no platforms list is specified.

Platforms: case-insensitive, list, of, platforms

We currently support the following platforms: asan, dynamo, inductor, linux, mac, macos, rocm, slow, win, windows.

Copy link
Author

pytorch-bot bot commented Apr 26, 2024

Another case of trunk flakiness has been found here. The list of platforms [linux, rocm] appears to contain all the recently affected platforms [linux, rocm]. Either the change didn't propogate fast enough or disable bot might be broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module: flaky-tests Problem is a flaky test in CI module: inductor skipped Denotes a (flaky) test currently skipped in CI. 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

0 participants