Fix legacy ONNX export crash with transformers >= 5.0#2381
Fix legacy ONNX export crash with transformers >= 5.0#2381Lidang-Jiang wants to merge 2 commits into
Build #20260408.7 had test failures
Details
- Failed: 3 (0.07%)
- Passed: 4,157 (92.34%)
- Other: 342 (7.60%)
- Total: 4,502
Annotations
Check failure on line 18 in Build log
azure-pipelines / Olive CI
Build log #L18
There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.
Check failure on line 21 in Build log
azure-pipelines / Olive CI
Build log #L21
There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.
Check failure on line 7131 in Build log
azure-pipelines / Olive CI
Build log #L7131
Bash exited with code '1'.
Check failure on line 20 in Build log
azure-pipelines / Olive CI
Build log #L20
There are one or more test failures detected in result files. Detailed summary of published test results can be viewed in the Tests tab.
Check failure on line 1 in test_capture_onnx_graph_integration
azure-pipelines / Olive CI
test_capture_onnx_graph_integration
AssertionError: No ONNX model produced
assert []
+ where [] = list(<generator object Path.rglob at 0x774989062d50>)
+ where <generator object Path.rglob at 0x774989062d50> = rglob('*.onnx')
+ where rglob = PosixPath('/mnt/vss/_work/1/.pytest_basetemp/test_capture_onnx_graph_integr0/onnx-model').rglob
Raw output
test/cli/test_api.py:190: in test_capture_onnx_graph_integration
assert list(output_dir.rglob("*.onnx")), "No ONNX model produced"
E AssertionError: No ONNX model produced
E assert []
E + where [] = list(<generator object Path.rglob at 0x774989062d50>)
E + where <generator object Path.rglob at 0x774989062d50> = rglob('*.onnx')
E + where rglob = PosixPath('/mnt/vss/_work/1/.pytest_basetemp/test_capture_onnx_graph_integr0/onnx-model').rglob
Check failure on line 1 in test_capture_onnx_graph_integration
azure-pipelines / Olive CI
test_capture_onnx_graph_integration
AssertionError: No ONNX model produced
assert []
+ where [] = list(<generator object Path.rglob at 0x000002D118228120>)
+ where <generator object Path.rglob at 0x000002D118228120> = rglob('*.onnx')
+ where rglob = WindowsPath('D:/a/_work/1/.pytest_basetemp/test_capture_onnx_graph_integr0/onnx-model').rglob
Raw output
test\cli\test_api.py:190: in test_capture_onnx_graph_integration
assert list(output_dir.rglob("*.onnx")), "No ONNX model produced"
E AssertionError: No ONNX model produced
E assert []
E + where [] = list(<generator object Path.rglob at 0x000002D118228120>)
E + where <generator object Path.rglob at 0x000002D118228120> = rglob('*.onnx')
E + where rglob = WindowsPath('D:/a/_work/1/.pytest_basetemp/test_capture_onnx_graph_integr0/onnx-model').rglob
Check failure on line 1 in test_capture_onnx_graph_integration
azure-pipelines / Olive CI
test_capture_onnx_graph_integration
AssertionError: No ONNX model produced
assert []
+ where [] = list(<generator object Path.rglob at 0x7cdaf5ad4890>)
+ where <generator object Path.rglob at 0x7cdaf5ad4890> = rglob('*.onnx')
+ where rglob = PosixPath('/tmp/pytest-of-root/pytest-0/test_capture_onnx_graph_integr0/onnx-model').rglob
Raw output
test/cli/test_api.py:190: in test_capture_onnx_graph_integration
assert list(output_dir.rglob("*.onnx")), "No ONNX model produced"
E AssertionError: No ONNX model produced
E assert []
E + where [] = list(<generator object Path.rglob at 0x7cdaf5ad4890>)
E + where <generator object Path.rglob at 0x7cdaf5ad4890> = rglob('*.onnx')
E + where rglob = PosixPath('/tmp/pytest-of-root/pytest-0/test_capture_onnx_graph_integr0/onnx-model').rglob