onnxscript: Test crashes sometimes for `scaled_dot_product_attention_bool_mask`
E.g. https://github.com/microsoft/onnx-script/actions/runs/4539041271/jobs/7998517646?pr=566#step:5:3923
worker 'gw1' crashed while running 'onnxscript/tests/function_libs/torch_lib/ops_correctness_test.py::TestOutputConsistencyFullGraphCPU::test_output_match_opinfo__nn_functional_scaled_dot_product_attention_bool_mask_cpu_float32'
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 16 (16 by maintainers)
-infis a constant in our function definition. I am still not sure why it is happening randomly-inf(https://github.com/onnx/onnx/issues/5102). This could be causing the instability0when it should have been0.0. ORT doesn’t complain but it could be another thing.I changed
-infto-1000000000000000000000000000.0and dropout to0.0and ran the session 100000 times. Everything looks fine