Skip to content

Pin the ONNX IR version in the RHEL tutorial's verification model - #172

Merged
nv-rinig merged 1 commit into
mainfrom
fix/rhel-onnx-ir-version
Sep 23, 2026
Merged

nv-rinig merged 1 commit into
mainfrom
fix/rhel-onnx-ir-version

Conversation

@nv-rinig

Copy link
Copy Markdown
Contributor

Step 4 generates its ONNX test model with an unpinned pip install onnx; make_model stamps the library's newest IR version. onnx 1.23.0 (2026-09-18) moved that default to IR 14, which the tutorial's ONNX Runtime rejects ("Unsupported model IR version: 14, max supported IR version: 13"). Pin ir_version=7, the IR that opset 13 shipped with. Verified: the pinned model passes onnx.checker and serves [11, 22, 33, 44] in ONNX Runtime.

onnx 1.23.0 (2026-09-18) defaults to IR 14, which the tutorial's ONNX Runtime
rejects; IR 7 is the version opset 13 shipped with.
@greptile-apps

greptile-apps Bot commented Sep 22, 2026

Copy link
Copy Markdown

RetriggerConfidence Score: 5/5

The PR appears safe to merge, with no actionable correctness, security, or repository-rule issues identified.

Summary

Pins the generated verification model to ONNX IR version 7 while retaining opset 13.

  • Prevents newer ONNX releases from emitting an IR version unsupported by the tutorial's runtime.
  • Keeps the generated Add model compatible with the consuming ONNX Runtime backend.

Reviews (1) · Last reviewed commit: "Pin the ONNX IR version in the RHEL tuto..."

@nv-rinig
nv-rinig merged commit 524fee7 into main Sep 23, 2026
4 checks passed
@nv-rinig
nv-rinig deleted the fix/rhel-onnx-ir-version branch September 23, 2026 15:33
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.

3 participants