8000 DISABLED test_torchvision_models_efficientnet_v2_l (__main__.TestVisionTracing) · Issue #152632 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

DISABLED test_torchvision_models_efficientnet_v2_l (__main__.TestVisionTracing) #152632

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 May 1, 2025 · 2 comments
Closed
Labels
module: flaky-tests Problem is a flaky test in CI module: fx 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 May 1, 2025

Platforms: asan, 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 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_torchvision_models_efficientnet_v2_l
  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_fx.py", line 4953, in run_test
    script = torch.jit.script(graph)
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_script.py", line 1443, in script
    ret = _script_impl(
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_script.py", line 1152, in _script_impl
    return torch.jit._recursive.create_script_module(
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_recursive.py", line 557, in create_script_module
    return create_script_module_impl(nn_module, concrete_type, stubs_fn)
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_recursive.py", line 626, in create_script_module_impl
    script_module = torch.jit.RecursiveScriptModule._construct(cpp_module, init_fn)
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_script.py", line 653, in _construct
    init_fn(script_module)
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_recursive.py", line 602, in init_fn
    scripted = create_script_module_impl(
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_recursive.py", line 626, in create_script_module_impl
    script_module = torch.jit.RecursiveScriptModule._construct(cpp_module, init_fn)
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_script.py", line 653, in _construct
    init_fn(script_module)
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_recursive.py", line 602, in init_fn
    scripted = create_script_module_impl(
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_recursive.py", line 626, in create_script_module_impl
    script_module = torch.jit.RecursiveScriptModule._construct(cpp_module, init_fn)
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_script.py", line 653, in _construct
    init_fn(script_module)
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_recursive.py", line 602, in init_fn
    scripted = create_script_module_impl(
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_recursive.py", line 626, in create_script_module_impl
    script_module = torch.jit.RecursiveScriptModule._construct(cpp_module, init_fn)
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_script.py", line 653, in _construct
    init_fn(script_module)
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_recursive.py", line 602, in init_fn
    scripted = create_script_module_impl(
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_recursive.py", line 626, in create_script_module_impl
    script_module = torch.jit.RecursiveScriptModule._construct(cpp_module, init_fn)
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_script.py", line 653, in _construct
    init_fn(script_module)
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_recursive.py", line 602, in init_fn
    scripted = create_script_module_impl(
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_recursive.py", line 626, in create_script_module_impl
    script_module = torch.jit.RecursiveScriptModule._construct(cpp_module, init_fn)
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_script.py", line 653, in _construct
    init_fn(script_module)
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_recursive.py", line 602, in init_fn
    scripted = create_script_module_impl(
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_recursive.py", line 630, in create_script_module_impl
    create_methods_and_properties_from_stubs(
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_recursive.py", line 466, in create_methods_and_properties_from_stubs
    concrete_type._create_methods_and_properties(
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_recursive.py", line 1027, in compile_unbound_method
    create_methods_and_properties_from_stubs(concrete_type, (stub,), ())
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/jit/_recursive.py", line 466, in create_methods_and_properties_from_stubs
    concrete_type._create_methods_and_properties(
RuntimeError: 
builtin cannot be used as a value:
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/nn/modules/conv.py", line 540
            return F.conv2d(
                F.pad(
                    input, self._reversed_padding_repeated_twice, mode=self.padding_mode
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
                ),
                weight,
'Conv2d._conv_forward' is being compiled since it was called from 'Conv2d.forward'
  File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/nn/modules/conv.py", line 554
    def forward(self, input: Tensor) -> Tensor:
        return self._conv_forward(input, self.weight, self.bias)
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE


To execute this test, run the following from the base repo dir:
    PYTORCH_TEST_WITH_ASAN=1 PYTORCH_TEST_WITH_UBSAN=1 PYTORCH_TEST_WITH_SLOW=1 PYTORCH_TEST_SKIP_FAST=1 python test/test_fx.py TestVisionTracing.test_torchvision_models_efficientnet_v2_l

This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0

Test file path: test_fx.py

cc @clee2000 @ezyang @SherlockNoMad @EikanWang @jgong5 @wenzhe-nrv

@pytorch-bot pytorch-bot bot added module: flaky-tests Problem is a flaky test in CI module: fx 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 May 1, 2025
Copy link
Author
pytorch-bot bot commented May 1, 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_torchvision_models_efficientnet_v2_l (__main__.TestVisionTracing)
  • Platforms for which to skip the test: asan, linux, slow
  • Disabled by pytorch-bot[bot]

Within ~15 minutes, test_torchvision_models_efficientnet_v2_l (__main__.TestVisionTracing) will be disabled in PyTorch CI for these platforms: asan, 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 #152632 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 May 16, 2025

Resolving the issue because the test is not flaky anymore after 4630 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: fx 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