10000 DISABLED test_binary_op_with_scalar_self_support__foreach_pow_is_fastpath_True_cuda_complex64 (__main__.TestForeachCUDA) · Issue #149199 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

DISABLED test_binary_op_with_scalar_self_support__foreach_pow_is_fastpath_True_cuda_complex64 (__main__.TestForeachCUDA) #149199

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
8000
pytorch-bot bot opened this issue Mar 14, 2025 · 8 comments
Labels
module: flaky-tests Problem is a flaky test in CI module: mta Issues related to multi-tensor apply kernels and foreach functions 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 Mar 14, 2025

Platforms: linux, slow

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 6 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_binary_op_with_scalar_self_support__foreach_pow_is_fastpath_True_cuda_complex64
  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/workspace/test/test_foreach.py", line 327, in test_binary_op_with_scalar_self_support
    self._binary_test(
  File "/var/lib/jenkins/workspace/test/test_foreach.py", line 263, in _binary_test
    actual = op(inputs, self.is_cuda, is_fastpath)
  File "/var/lib/jenkins/workspace/test/test_foreach.py", line 90, in __call__
    assert mta_called == (expect_fastpath and (not zero_size)), (
AssertionError: mta_called=False, expect_fastpath=True, zero_size=False, self.func.__name__='_foreach_pow', keys=('aten::_foreach_pow', 'Unrecognized', 'aten::empty_strided', 'cudaLaunchKernel', 'Lazy Function Loading', 'cudaDeviceSynchronize')

To execute this test, run the following from the base repo dir:
    PYTORCH_TEST_CUDA_MEM_LEAK_CHECK=1 PYTORCH_TEST_WITH_SLOW_GRADCHECK=1 python test/test_foreach.py TestForeachCUDA.test_binary_op_with_scalar_self_support__foreach_pow_is_fastpath_True_cuda_complex64

This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0

Test file path: test_foreach.py

cc @clee2000 @crcrpar @mcarilli @janeyx99

@pytorch-bot pytorch-bot bot added module: flaky-tests Problem is a flaky test in CI module: mta Issues related to multi-tensor apply kernels and foreach functions 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 Mar 14, 2025
Copy link
Author
pytorch-bot bot commented Mar 14, 2025
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_binary_op_with_scalar_self_support__foreach_pow_is_fastpath_True_cuda_complex64 (__main__.TestForeachCUDA)
  • Platforms for which to skip the test: linux, slow
  • Disabled by pytorch-bot[bot]

Within ~15 minutes, test_binary_op_with_scalar_self_support__foreach_pow_is_fastpath_True_cuda_complex64 (__main__.TestForeachCUDA) will be disabled in PyTorch CI for these platforms: linux, slow. 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 #149199 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 Mar 28, 2025

Resolving the issue because the test is not flaky anymore after 2100 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 Mar 28, 2025
Copy link
Author
pytorch-bot bot commented Mar 31, 2025

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

@pytorch-bot pytorch-bot bot reopened this Mar 31, 2025
Copy link
Author
pytorch-bot bot commented Apr 14, 2025

Resolving the issue because the test is not flaky anymore after 2050 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 Apr 14, 2025
Copy link
Author
pytorch-bot bot commented Apr 15, 2025

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

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

Resolving the issue because the test is not flaky anymore after 2700 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 Apr 29, 2025
Copy link
Author
pytorch-bot bot commented May 2, 2025

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

@pytorch-bot pytorch-bot bot reopened this May 2, 2025
Copy link
Author
pytorch-bot bot commented May 16, 2025

Resolving the issue because the test is not flaky anymore after 2050 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 16, 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: mta Issues related to multi-tensor apply kernels and foreach functions 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