Closed pytorch-bot[bot] closed 1 month ago
Resolving the issue because the test is not flaky anymore after 3050 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
Platforms: linux
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 2 workflow(s) with 6 failures and 2 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:
test_mem_efficient_attention_attn_mask_vs_math_ref_grads_batch_size_1_seq_len_q_128_seq_len_k_128_head_dim_16_is_causal_False_dropout_p_0_0_float16_scale_l1_cuda_float16
Sample error message
``` Traceback (most recent call last): File "/var/lib/jenkins/workspace/test/test_transformers.py", line 2846, in test_mem_efficient_attention_attn_mask_vs_math_ref_grads self.assertEqual(query.grad, query_ref.grad.to(query.grad.dtype), File "/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 3631, in assertEqual raise error_metas.pop()[0].to_error( AssertionError: Tensor-likes are not close! Mismatched elements: 356 / 8192 (4.3%) Greatest absolute difference: nan at index (0, 0, 34, 0) (up to 403.2480773925781 allowed) Greatest relative difference: nan at index (0, 0, 34, 0) (up to 0.001 allowed) To execute this test, run the following from the base repo dir: python test/test_transformers.py -k TestSDPACudaOnlyCUDA.test_mem_efficient_attention_attn_mask_vs_math_ref_grads_batch_size_1_seq_len_q_128_seq_len_k_128_head_dim_16_is_causal_False_dropout_p_0_0_float16_scale_l1_cuda_float16 This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0 ```Test file path:
test_transformers.py
ResponseTimeoutError: Response timeout for 5000ms, GET https://raw.githubusercontent.com/pytorch/pytorch/main/test/test_transformers.py -1 (connected: true, keepalive socket: false, socketHandledRequests: 1, socketHandledResponses: 0) headers: {}
cc @clee2000