commit | 29e70abcd352a4d037509e6ecf5e52507b738f4e | [log] [tgz] |
---|---|---|
author | Scott Todd <scott.todd0@gmail.com> | Tue May 28 12:48:55 2024 -0700 |
committer | GitHub <noreply@github.com> | Tue May 28 12:48:55 2024 -0700 |
tree | cc38ef9351f9baf12362e79c63cf762ced703cb8 | |
parent | a6a56a97ae070c2a1a290841e99ec1a396e99101 [diff] [blame] |
Update onnx package version minimum to 1.16.0. (#17504) As discovered on https://github.com/iree-org/iree/pull/17476#discussion_r1617673191, 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
diff --git a/compiler/setup.py b/compiler/setup.py index 5f82f79..6c4ac22 100644 --- a/compiler/setup.py +++ b/compiler/setup.py
@@ -467,7 +467,7 @@ ], extras_require={ "onnx": [ - "onnx>=1.15.0", + "onnx>=1.16.0", ], }, )