Skip to content

Commit 0a29775

Browse files
justinchubyCopilot
andauthored
Update onnxscript/version_converter/_version_converter.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e62f787 commit 0a29775

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

onnxscript/version_converter/_version_converter.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,7 @@ def version_supported(current_version: int, target_version: int) -> bool:
4545
SUPPORTED_MIN_ONNX_OPSET
4646
<= current_version
4747
<= target_version
48-
<= SUPPORTED_MIN_ONNX_OPSET
49-
)
50-
48+
<= SUPPORTED_MAX_ONNX_OPSET
5149

5250
class AdapterRegistry:
5351
"""A class that maintains a registry of adapters for ops."""

0 commit comments

Comments
 (0)