8000 DISABLED test_abs_cuda (__main__.TestInductorDynamicCUDA) · Issue #137224 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

DISABLED test_abs_cuda (__main__.TestInductorDynamicCUDA) #137224

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

Closed
pytorch-bot bot opened this issue Oct 2, 2024 · 7 comments
Closed

DISABLED test_abs_cuda (__main__.TestInductorDynamicCUDA) #137224

pytorch-bot bot opened this issue Oct 2, 2024 · 7 comments
Labels
module: flaky-tests Problem is a flaky test in CI module: rocm AMD GPU support for Pytorch 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 Oct 2, 2024

Platforms: 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 3 workflow(s) with 3 failures and 3 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_abs_cuda
  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 "/var/lib/jenkins/pytorch/test/inductor/test_torchinductor_dynamic_shapes.py", line 697, in test_abs
    self.assertEqual(expect, actual)
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 3889, in assertEqual
    raise error_metas.pop()[0].to_error(
AssertionError: Tensor-likes are not close!

Mismatched elements: 0 / 448 (0.0%)
Greatest absolute difference: 0.0 at index (0, 0) (up to 1e-05 allowed)
Greatest relative difference: 0.0 at index (0, 0) (up to 1.3e-06 allowed)

To execute this test, run the following from the base repo dir:
    PYTORCH_TEST_WITH_ROCM=1 python test/inductor/test_torchinductor_dynamic_shapes.py TestInductorDynamicCUDA.test_abs_cuda

This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0

Test file path: inductor/test_torchinductor_dynamic_shapes.py

ResponseTimeoutError: Response timeout for 5000ms, GET https://raw.githubusercontent.com/pytorch/pytorch/main/test/inductor/test_torchinductor_dynamic_shapes.py 200 (connected: true, keepalive socket: false, socketHandledRequests: 1, socketHandledResponses: 1)
headers: {"connection":"keep-alive","content-length":"32493","cache-control":"max-age=300","content-security-policy":"default-src 'none'; style-src 'unsafe-inline'; sandbox","content-type":"text/plain; charset=utf-8","etag":""93af288982ab45ad1dddec904e6b3f94d5116060e0bf613336ace587db5accb8"","strict-transport-security":"max-age=31536000","x-content-type-options":"nosniff","x-frame-options":"deny","x-xss-protection":"1; mode=block","x-github-request-id":"E0D2:356DFF:102B21F:1098297:66FDBDC9","accept-ranges":"bytes","date":"Wed, 02 Oct 2024 21:40:29 GMT","via":"1.1 varnish","x-served-by":"cache-sjc10065-SJC","x-cache":"MISS","x-cache-hits":"0","x-timer":"S1727905229.459816,VS0,VE161","vary":"Authorization,Accept-Encoding,Origin","access-control-allow-origin":"*","cross-origin-resource-policy":"cross-origin","x-fastly-request-id":"4a4958eae19407c0bea03b4672affcd56b936828","expires":"Wed, 02 Oct 2024 21:45:29 GMT","source-age":"0"}

cc @jeffdaily @sunway513 @jithunnair-amd @pruthvistony @ROCmSupport @dllehr-amd @jataylo @hongxiayang @naromero77amd @clee2000

@pytorch-bot pytorch-bot bot added module: flaky-tests Problem is a flaky test in CI module: rocm AMD GPU support for Pytorch 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 Oct 2, 2024
Copy link
Author
pytorch-bot bot commented Oct 2, 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_abs_cuda (__main__.TestInductorDynamicCUDA)
  • Platforms for which to skip the test: rocm
  • Disabled by pytorch-bot[bot]

Within ~15 minutes, test_abs_cuda (__main__.TestInductorDynamicCUDA) will be disabled in PyTorch CI for these platforms: 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.

How to re-enable a test

To re-enable the test globally, close the issue. To re-enable a test for only a subset of platforms, remove the platforms from the list in the issue body. This may take some time to propagate. To re-enable a test only for a PR, put Fixes #137224 in the PR body and rerun the test jobs. Note that if a test is flaky, it maybe be difficult to tell if the test is still flaky on the PR.

Copy link
Author
pytorch-bot bot commented Nov 4, 2024

Resolving the issue because the test is not flaky anymore after 400 reruns without any failures and the issue hasn't been updated in 14 days. Please reopen the issue to re-disable the test if you think this is a false positive

@pytorch-bot pytorch-bot bot closed this as completed Nov 4, 2024
Copy link
Author
pytorch-bot bot commented Nov 19, 2024

Another case of trunk flakiness has been found here. Reopening issue. The list of platforms [rocm] appears to contain all the recently affected platforms [rocm].

@pytorch-bot pytorch-bot bot reopened this Nov 19, 2024
Copy link
Author
pytorch-bot bot commented Nov 19, 2024

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

Copy link
Author
pytorch-bot bot commented Dec 6, 2024

Resolving the issue because the test is not flaky anymore after 300 reruns without any failures and the issue hasn't been updated in 14 days. Please reopen the issue to re-disable the test if you think this is a false positive

@pytorch-bot pytorch-bot bot closed this as completed Dec 6, 2024
Copy link
Author
pytorch-bot bot commented Apr 18, 2025

Another case of trunk flakiness has been found here. Reopening issue. The list of platforms [rocm] appears to contain all the recently affected platforms [rocm].

@pytorch-bot pytorch-bot bot reopened this Apr 18, 2025
Copy link
Author
pytorch-bot bot commented May 15, 2025

Resolving the issue because the test is not flaky anymore after 550 reruns without any failures and the issue hasn't been updated in 14 days. Please reopen the issue to re-disable the test if you think this is a false positive

@pytorch-bot pytorch-bot bot closed this as completed May 15, 2025
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: rocm AMD GPU support for Pytorch 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
0