Skip to content

add unittest validing mobidus with OnnxDiscrepancyCheck#2567

Draft
xadupre wants to merge 3 commits into
mainfrom
xadupre/mobius
Draft

add unittest validing mobidus with OnnxDiscrepancyCheck#2567
xadupre wants to merge 3 commits into
mainfrom
xadupre/mobius

Conversation

@xadupre

@xadupre xadupre commented Jul 10, 2026

Copy link
Copy Markdown
Member

Describe your changes

Make sure there is a test validating the mobius export path and OnnxDiscrepancyCheck.

@xadupre

xadupre commented Jul 10, 2026

Copy link
Copy Markdown
Member Author

@copilot fix lint

Copilot AI commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

@copilot fix lint

Fixed in a4cc294.

@xadupre

xadupre commented Jul 10, 2026

Copy link
Copy Markdown
Member Author

@copilot test/passes/onnx/test_session_params_tuning.py:174: in test_ort_session_params_tuning_pass_with_dynamic_shapes
assert "ones() received an invalid combination of arguments" in str(e.value)
E assert 'ones() received an invalid combination of arguments' in "ones(): argument 'size' (position 1) must be tuple of ints, but found element of type str at pos 0"
E + where "ones(): argument 'size' (position 1) must be tuple of ints, but found element of type str at pos 0" = str(TypeError("ones(): argument 'size' (position 1) must be tuple of ints, but found element of type str at pos 0"))
E + where TypeError("ones(): argument 'size' (position 1) must be tuple of ints, but found element of type str at pos 0") = <ExceptionInfo TypeError("ones(): argument 'size' (position 1) must be tuple of ints, but found element of type str at pos 0") tblen=10>.value

Copilot AI commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

@copilot test/passes/onnx/test_session_params_tuning.py:174: in test_ort_session_params_tuning_pass_with_dynamic_shapes
assert "ones() received an invalid combination of arguments" in str(e.value...

Fixed in 94bc3c9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants