diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index e67e9254d3..62543f8016 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -60,7 +60,7 @@ jobs: - name: Install nox run: python -m pip install nox - name: Run tests - run: nox -t ${{ matrix.nox-tag }} --forcecolor -- -v --cov=onnxscript --cov-report=xml --cov-append --cov-branch -n=auto --junit-xml pytest.xml + run: nox -t ${{ matrix.nox-tag }} --forcecolor -- --cov=onnxscript --cov-report=xml --cov-append --cov-branch --junit-xml pytest.xml -s env: CATCH_ORT_SEGFAULT: "${{ matrix.os == 'ubuntu-latest' && '1' || '0' }}" CREATE_REPRODUCTION_REPORT: "${{ matrix.os == 'ubuntu-latest' && '1' || '0' }}" diff --git a/onnxscript/tests/function_libs/torch_lib/ops_test_common.py b/onnxscript/tests/function_libs/torch_lib/ops_test_common.py index 7a2e5b4040..653ae86347 100644 --- a/onnxscript/tests/function_libs/torch_lib/ops_test_common.py +++ b/onnxscript/tests/function_libs/torch_lib/ops_test_common.py @@ -524,6 +524,9 @@ def _capture_graph_and_evaluate_torch_script_evaluator(function: Callable, args, f"ONNX model is invalid. Model:\n{onnxscript.proto2text(onnx_model)}" ) from e + if ("min" in test_name or "max" in test_name) and "pool" not in test_name: + print(test_name, "ort_inputs", ort_inputs) + try: if ( os.environ.get("CATCH_ORT_SEGFAULT") == "1"