-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Open
Labels
module: flaky-testsProblem is a flaky test in CIProblem is a flaky test in CImodule: macosMac OS related issuesMac OS related issuesoncall: quantizationQuantization support in PyTorchQuantization support in PyTorchskippedDenotes a (flaky) test currently skipped in CI.Denotes a (flaky) test currently skipped in CI.triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
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 16 workflow(s) with 16 failures and 16 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:
- Click on the workflow logs linked above
- Click on the Test step of the job so that it is expanded. Otherwise, the grepping will not work.
- Grep for
test_add_loggers_linear_mod_quant_fp32
- 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-1753415653/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-1753415653/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-1753415653/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-1753415653/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_linear_mod_quant_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
Labels
module: flaky-testsProblem is a flaky test in CIProblem is a flaky test in CImodule: macosMac OS related issuesMac OS related issuesoncall: quantizationQuantization support in PyTorchQuantization support in PyTorchskippedDenotes a (flaky) test currently skipped in CI.Denotes a (flaky) test currently skipped in CI.triagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module