Skip to content

Disable one more test when contrib ops are disabled.#789

Merged
jignparm merged 1 commit into
rel-0.3.1from
disable_test_contrib_ops
Apr 8, 2019
Merged

Disable one more test when contrib ops are disabled.#789
jignparm merged 1 commit into
rel-0.3.1from
disable_test_contrib_ops

Conversation

@pranavsharma
Copy link
Copy Markdown
Contributor

One more test failed as per https://aiinfra.visualstudio.com/Lotus/_build/results?buildId=79109. Not sure why this didn't fail earlier.

@pranavsharma pranavsharma requested a review from a team as a code owner April 7, 2019 05:01
@snnn
Copy link
Copy Markdown
Contributor

snnn commented Apr 7, 2019

Maybe I know. There was a known issue in onnx_test_runner. It was introduced in Pranav's PR #639, that it may access uninitialized memory when retrieving test config. It because OnnxTestCase::ParseConfig() may forget to initialize some config variable, especially post_processing_. If it is true, value will be cut into [0-255].
The bug should already be fixed in #751

@jignparm jignparm merged commit 18ca4df into rel-0.3.1 Apr 8, 2019
@jignparm jignparm deleted the disable_test_contrib_ops branch April 8, 2019 00:36
@jignparm
Copy link
Copy Markdown
Contributor

jignparm commented Apr 8, 2019

@snnn thanks for the the links above. The changes from #639 should be available in rel-0.3.1 branch. The failing tests seem to be transient. Merging this PR into rel-0.3.1 is building successfully.

@snnn
Copy link
Copy Markdown
Contributor

snnn commented Apr 8, 2019

I don't think this PR is good. Because, you just exclude one test failure you have seen, but you may get more random test failures in future runs.

@pranavsharma
Copy link
Copy Markdown
Contributor Author

pranavsharma commented Apr 8, 2019

As you said it'll get fixed in the master branch due to PR 751.

@snnn
Copy link
Copy Markdown
Contributor

snnn commented Apr 8, 2019

If you have more changes in rel-0.3.1, you may hit this issue again.

@pranavsharma
Copy link
Copy Markdown
Contributor Author

rel-0.3.1 is sealed now.

jnagi-intel pushed a commit to jnagi-intel/onnxruntime that referenced this pull request Jan 5, 2026
Sync with Microsoft ONNX Runtime - 25/08/2025
yuslepukhin pushed a commit that referenced this pull request Mar 17, 2026
## Describe your changes
#18465 made some changes
that make the vitis ai quantizer incompatible with the latest ort code.

This PR updates the vitis ai code to add `quant_type` to
`QuantizationParams` if the ORT version >= 1.17.0.

## Checklist before requesting a review
- [ ] Add unit tests for this change.
- [ ] Make sure all tests can pass.
- [ ] Update documents if necessary.
- [ ] Lint and apply fixes to your code by running `lintrunner -a`
- [ ] Is this a user-facing change? If yes, give a description of this
change to be included in the release notes.

## (Optional) Issue link
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.

4 participants