Skip to content

DISABLED test_add_loggers_conv_bn_relu_fusion_fp32 (__main__.TestFXNumericSuiteNShadows) #158762

@pytorch-bot

Description

@pytorch-bot

Platforms: mac, macos

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

Over the past 6 hours, it has been determined flaky in 6 workflow(s) with 6 failures and 6 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_add_loggers_conv_bn_relu_fusion_fp32
  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 "/Users/ec2-user/runner/_work/_temp/venv-3.12-1753102753/lib/python3.12/site-packages/torch/testing/_internal/common_utils.py", line 3223, in wrapper
    method(*args, **kwargs)
  File "/Users/ec2-user/runner/_work/_temp/venv-3.12-1753102753/lib/python3.12/site-packages/torch/testing/_internal/common_quantization.py", line 416, in wrapper
    with override_quantized_engine("qnnpack"):
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/python@3.12/3.12.11/Frameworks/Python.framework/Versions/3.12/lib/python3.12/contextlib.py", line 144, in __exit__
    next(self.gen)
  File "/Users/ec2-user/runner/_work/_temp/venv-3.12-1753102753/lib/python3.12/site-packages/torch/testing/_internal/common_quantized.py", line 151, in override_quantized_engine
    torch.backends.quantized.engine = previous
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/ec2-user/runner/_work/_temp/venv-3.12-1753102753/lib/python3.12/site-packages/torch/backends/quantized/__init__.py", line 37, in __set__
    torch._C._set_qengine(_get_qengine_id(val))
RuntimeError: quantized engine NoQEngine is not supported

To execute this test, run the following from the base repo dir:
    python test/quantization/fx/test_numeric_suite_fx.py TestFXNumericSuiteNShadows.test_add_loggers_conv_bn_relu_fusion_fp32

This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0

Test file path: test_quantization.py

For all disabled tests (by GitHub issue), see https://hud.pytorch.org/disabled.

cc @jerryzh168 @jianyuh @raghuramank100 @jamesr66a @vkuzo @jgong5 @Xia-Weiwen @leslie-fang-intel @msaroufim @clee2000 @malfet @albanD

Metadata

Metadata

Assignees

No one assigned

    Labels

    module: flaky-testsProblem is a flaky test in CImodule: macosMac OS related issuesoncall: quantizationQuantization support in PyTorchskippedDenotes a (flaky) test currently skipped in CI.triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions