Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update onnx package version minimum to 1.16.0. #17504

Merged
merged 1 commit into from
May 28, 2024

Conversation

ScottTodd
Copy link
Member

As discovered on #17476 (comment), this is needed to avoid an error running iree-import-onnx on certain test files:

onnx.onnx_cpp2py_export.checker.ValidationError: Your model ir_version 10 is higher than the checker's (9).

If we care about supporting older onnx package versions, we could add some fallback code to iree-import-onnx.

We may also want to update the version used in torch-mlir? https://github.com/llvm/torch-mlir/blob/e0a5adb1db38b0072c44b87570bc530eb3b324ad/setup.py#L264

@ScottTodd ScottTodd added the integrations Relating to high-level frontend integrations label May 28, 2024
@ScottTodd ScottTodd requested a review from saienduri May 28, 2024 19:00
Copy link
Collaborator

@saienduri saienduri left a comment

Choose a reason for hiding this comment

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

Thanks, yes we should also make the change in torch-mlir

@ScottTodd ScottTodd merged commit 29e70ab into iree-org:main May 28, 2024
62 checks passed
@ScottTodd ScottTodd deleted the onnx-bump branch May 28, 2024 19:48
gglangg pushed a commit to gglangg/iree that referenced this pull request Jun 4, 2024
As discovered on
iree-org#17476 (comment), this
is needed to avoid an error running `iree-import-onnx` on certain test
files:

> onnx.onnx_cpp2py_export.checker.ValidationError: Your model ir_version
10 is higher than the checker's (9).

If we care about supporting older onnx package versions, we could add
some fallback code to `iree-import-onnx`.

We may also want to update the version used in torch-mlir?
https://github.com/llvm/torch-mlir/blob/e0a5adb1db38b0072c44b87570bc530eb3b324ad/setup.py#L264
gglangg pushed a commit to gglangg/iree that referenced this pull request Jun 4, 2024
As discovered on
iree-org#17476 (comment), this
is needed to avoid an error running `iree-import-onnx` on certain test
files:

> onnx.onnx_cpp2py_export.checker.ValidationError: Your model ir_version
10 is higher than the checker's (9).

If we care about supporting older onnx package versions, we could add
some fallback code to `iree-import-onnx`.

We may also want to update the version used in torch-mlir?
https://github.com/llvm/torch-mlir/blob/e0a5adb1db38b0072c44b87570bc530eb3b324ad/setup.py#L264
bangtianliu pushed a commit to bangtianliu/iree that referenced this pull request Jun 5, 2024
As discovered on
iree-org#17476 (comment), this
is needed to avoid an error running `iree-import-onnx` on certain test
files:

> onnx.onnx_cpp2py_export.checker.ValidationError: Your model ir_version
10 is higher than the checker's (9).

If we care about supporting older onnx package versions, we could add
some fallback code to `iree-import-onnx`.

We may also want to update the version used in torch-mlir?
https://github.com/llvm/torch-mlir/blob/e0a5adb1db38b0072c44b87570bc530eb3b324ad/setup.py#L264
LLITCHEV pushed a commit to LLITCHEV/iree that referenced this pull request Jul 30, 2024
As discovered on
iree-org#17476 (comment), this
is needed to avoid an error running `iree-import-onnx` on certain test
files:

> onnx.onnx_cpp2py_export.checker.ValidationError: Your model ir_version
10 is higher than the checker's (9).

If we care about supporting older onnx package versions, we could add
some fallback code to `iree-import-onnx`.

We may also want to update the version used in torch-mlir?
https://github.com/llvm/torch-mlir/blob/e0a5adb1db38b0072c44b87570bc530eb3b324ad/setup.py#L264

Signed-off-by: Lubo Litchev <[email protected]>
@ScottTodd ScottTodd added the integrations/onnx ONNX integration work label Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integrations/onnx ONNX integration work integrations Relating to high-level frontend integrations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants