Skip to content

[DRAFT] Change parameter names of builder methods for domain, version, outputs #7523

[DRAFT] Change parameter names of builder methods for domain, version, outputs

[DRAFT] Change parameter names of builder methods for domain, version, outputs #7523

GitHub Actions / Test Results failed Jul 30, 2024 in 0s

5 fail, 3 931 skipped, 7 816 pass in 40m 58s

     24 files      24 suites   40m 58s ⏱️
 11 752 tests  7 816 ✅  3 931 💤   5 ❌
101 130 runs  43 365 ✅ 57 660 💤 105 ❌

Results for commit 18f45d8.

Annotations

Check warning on line 0 in onnxscript.optimizer.constant_folding_test.FoldConstantsTest_1

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 21 runs failed: test_static_split_to_sequence_with_list_split_no_keepdims_and_squence_at_is_folded_as_split_with_squeeze (onnxscript.optimizer.constant_folding_test.FoldConstantsTest_1)

artifacts/Test Results (py310-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py310-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py310-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-onnx-weekly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-onnx-weekly-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-onnx-weekly-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-ort-nightly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-ort-nightly-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-ort-nightly-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py39-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py39-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py39-windows-latest)/pytest.xml [took 0s]
Raw output
TypeError: 'Value' object is not subscriptable
onnxscript/optimizer/constant_folding_test.py:348: in test_static_split_to_sequence_with_list_split_no_keepdims_and_squence_at_is_folded_as_split_with_squeeze
    optimized = self._fold(model)
onnxscript/optimizer/constant_folding_test.py:19: in _fold
    _constant_folding.fold_constants(
onnxscript/optimizer/_constant_folding.py:707: in fold_constants
    folder.visit_model(model)
onnxscript/optimizer/_constant_folding.py:687: in visit_model
    self.visit_graph(model.graph)
onnxscript/optimizer/_constant_folding.py:678: in visit_graph
    self.visit_node(node, graph)
onnxscript/optimizer/_constant_folding.py:667: in visit_node
    replacement = self.process_node(node)
onnxscript/optimizer/_constant_folding.py:609: in process_node
    output = optimizer(node, context, self._state)
onnxscript/optimizer/_constant_folding.py:449: in split_to_sequence
    split_values[i], axis_val, outputs=[f"{split_outputs[i]}_squeeze"]
E   TypeError: 'Value' object is not subscriptable

Check warning on line 0 in onnxscript.optimizer.constant_folding_test.FoldConstantsTest_1

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 21 runs failed: test_split_to_sequence_and_concat_from_sequence_with_new_axis_0 (onnxscript.optimizer.constant_folding_test.FoldConstantsTest_1)

artifacts/Test Results (py310-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py310-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py310-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-onnx-weekly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-onnx-weekly-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-onnx-weekly-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-ort-nightly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-ort-nightly-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-ort-nightly-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py39-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py39-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py39-windows-latest)/pytest.xml [took 0s]
Raw output
onnx.onnx_cpp2py_export.checker.ValidationError: Unrecognized attribute: outputs for operator Split

==> Context: Bad node spec for node. Name: node_Split_0 OpType: Split
onnxscript/optimizer/constant_folding_test.py:373: in test_split_to_sequence_and_concat_from_sequence_with_new_axis_0
    onnx.checker.check_model(optimized)
.nox/test/lib/python3.10/site-packages/onnx/checker.py:179: in check_model
    C.check_model(
E   onnx.onnx_cpp2py_export.checker.ValidationError: Unrecognized attribute: outputs for operator Split
E   
E   ==> Context: Bad node spec for node. Name: node_Split_0 OpType: Split

Check warning on line 0 in onnxscript.optimizer.constant_folding_test.FoldConstantsTest_1

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 21 runs failed: test_static_split_to_sequence_with_scalar_split_and_squence_at_is_folded_as_split (onnxscript.optimizer.constant_folding_test.FoldConstantsTest_1)

artifacts/Test Results (py310-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py310-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py310-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-onnx-weekly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-onnx-weekly-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-onnx-weekly-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-ort-nightly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-ort-nightly-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-ort-nightly-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py39-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py39-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py39-windows-latest)/pytest.xml [took 0s]
Raw output
AssertionError: 9 != 2
onnxscript/optimizer/constant_folding_test.py:295: in test_static_split_to_sequence_with_scalar_split_and_squence_at_is_folded_as_split
    self.assertEqual(len(optimized.graph.node), 2)
E   AssertionError: 9 != 2

Check warning on line 0 in onnxscript.optimizer.constant_folding_test.FoldConstantsTest_1

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 21 runs failed: test_static_split_to_sequence_with_list_split_and_squence_at_is_folded_as_split (onnxscript.optimizer.constant_folding_test.FoldConstantsTest_1)

artifacts/Test Results (py310-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py310-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py310-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-onnx-weekly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-onnx-weekly-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-onnx-weekly-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-ort-nightly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-ort-nightly-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-ort-nightly-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py39-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py39-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py39-windows-latest)/pytest.xml [took 0s]
Raw output
AssertionError: 8 != 3
onnxscript/optimizer/constant_folding_test.py:322: in test_static_split_to_sequence_with_list_split_and_squence_at_is_folded_as_split
    self.assertEqual(len(optimized.graph.node), 3)
E   AssertionError: 8 != 3

Check warning on line 0 in onnxscript.optimizer.constant_folding_test.FoldConstantsTest_1

See this annotation in the file changed.

@github-actions github-actions / Test Results

All 21 runs failed: test_split_to_sequence_and_concat_from_sequence_with_new_axis_1 (onnxscript.optimizer.constant_folding_test.FoldConstantsTest_1)

artifacts/Test Results (py310-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py310-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py310-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-onnx-weekly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-onnx-weekly-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-onnx-weekly-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-ort-nightly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-ort-nightly-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-ort-nightly-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-torch-nightly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-torch-nightly-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-torch-nightly-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py311-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py312-torch-nightly-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py312-torch-nightly-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py312-torch-nightly-windows-latest)/pytest.xml [took 0s]
artifacts/Test Results (py39-macos-latest)/pytest.xml [took 0s]
artifacts/Test Results (py39-ubuntu-latest)/pytest.xml [took 0s]
artifacts/Test Results (py39-windows-latest)/pytest.xml [took 0s]
Raw output
AssertionError: 5 != 7
onnxscript/optimizer/constant_folding_test.py:392: in test_split_to_sequence_and_concat_from_sequence_with_new_axis_1
    self.assertEqual(len(optimized.graph.node), 7)
E   AssertionError: 5 != 7