Description
Platforms: asan, linux, mac, macos, rocm, 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 79 workflow(s) with 158 failures and 79 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_dim_dynamic_inline_and_install_strict
- 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/export/test_export.py", line 13916, in test_dim_dynamic
self.assertEqual(num_asserts, 2)
File "/opt/conda/envs/py_3.9/lib/python3.9/site-packages/torch/testing/_internal/common_utils.py", line 4089, in assertEqual
raise error_metas.pop()[0].to_error( # type: ignore[index]
AssertionError: Scalars are not equal!
Expected 2 but got 4.
Absolute difference: 2
Relative difference: 1.0
To execute this test, run the following from the base repo dir:
python test/export/test_export_with_inline_and_install.py InlineAndInstallStrictExportTestExport.test_dim_dynamic_inline_and_install_strict
This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0
Test file path: export/test_export_with_inline_and_install.py
For all disabled tests (by GitHub issue), see https://hud.pytorch.org/disabled.
613Bcc @clee2000 @chauhang @penguinwu @avikchaudhuri @gmagogsfm @zhxchen17 @tugsbayasgalan @angelayi @suo @ydwu4