Skip to content

[ONNX] Support importing Conv with missing attributes#7899

Merged
jwfromm merged 3 commits into
apache:mainfrom
mbrookhart:conv_with_mising_attrs
Apr 23, 2021
Merged

[ONNX] Support importing Conv with missing attributes#7899
jwfromm merged 3 commits into
apache:mainfrom
mbrookhart:conv_with_mising_attrs

Conversation

@mbrookhart

Copy link
Copy Markdown
Contributor

No description provided.

@mbrookhart mbrookhart requested a review from jwfromm April 21, 2021 17:22

@jwfromm jwfromm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice fix, LGTM!

@jwfromm

jwfromm commented Apr 22, 2021

Copy link
Copy Markdown
Contributor

@mbrookhart it looks like one of the onnx test nodes is constructed with a bad output shape.

@mbrookhart

Copy link
Copy Markdown
Contributor Author

huh, this is an onnxruntime error...

I can't seem to install the version of onnx runtime we're using in CI, it's not in pip...

Will try to debug.

@mbrookhart

Copy link
Copy Markdown
Contributor Author

I found the issue by going to onnxruntime 1.2.0. I missed a case where dilation was the the default value, so I dropped it by mistake.

@jwfromm

jwfromm commented Apr 23, 2021

Copy link
Copy Markdown
Contributor

Thanks @mbrookhart! This is now merged.

@jwfromm jwfromm merged commit de0bff8 into apache:main Apr 23, 2021
@mbrookhart mbrookhart deleted the conv_with_mising_attrs branch April 23, 2021 17:04
echuraev pushed a commit to echuraev/tvm that referenced this pull request Apr 29, 2021
* [ONNX] Support importing Conv with missing attributes

* fix removal of attributes ONLY when they are default and for autopad

* move comment to the right place
umangyadav pushed a commit to umangyadav/tvm that referenced this pull request May 5, 2021
* [ONNX] Support importing Conv with missing attributes

* fix removal of attributes ONLY when they are default and for autopad

* move comment to the right place
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request May 6, 2021
* [ONNX] Support importing Conv with missing attributes

* fix removal of attributes ONLY when they are default and for autopad

* move comment to the right place
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request May 6, 2021
* [ONNX] Support importing Conv with missing attributes

* fix removal of attributes ONLY when they are default and for autopad

* move comment to the right place
trevor-m pushed a commit to trevor-m/tvm that referenced this pull request May 6, 2021
* [ONNX] Support importing Conv with missing attributes

* fix removal of attributes ONLY when they are default and for autopad

* move comment to the right place
trevor-m pushed a commit to neo-ai/tvm that referenced this pull request May 11, 2021
* [ONNX] Support importing Conv with missing attributes

* fix removal of attributes ONLY when they are default and for autopad

* move comment to the right place
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