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

make onnx package to be optional. #653

Merged
merged 4 commits into from
Feb 15, 2024
Merged

make onnx package to be optional. #653

merged 4 commits into from
Feb 15, 2024

Conversation

wenbingl
Copy link
Member

ONNX dependency is only used on offline model generation, so make it be optional to remove the dependency on building ort-extensions package.

@wenbingl wenbingl requested a review from a team as a code owner February 14, 2024 23:19
sayanshaw24
sayanshaw24 previously approved these changes Feb 15, 2024
@@ -37,10 +114,10 @@ def get_opset_version_from_ort():
"1.12": 17,
"1.13": 17,
"1.14": 18,
"1.15": 18
"1.15": 18,
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: why the comma here?

Copy link
Member Author

Choose a reason for hiding this comment

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

VS code formatter did it. no sure why it is

@wenbingl wenbingl merged commit b045e66 into microsoft:main Feb 15, 2024
39 checks passed
YUNQIUGUO pushed a commit that referenced this pull request Feb 16, 2024
* putting onnx package to be optional

* update the ci.yml

* add more message of missing ONNX package
YUNQIUGUO added a commit that referenced this pull request Feb 16, 2024
* support python 3.12 for packaging pipeline (#650)

* support python 3.12 for packaging pipeline

* turn unit test build off for python package

* update ctest flag for selected_ops build

* make onnx package to be optional. (#653)

* putting onnx package to be optional

* update the ci.yml

* add more message of missing ONNX package

---------

Co-authored-by: Wenbing Li <[email protected]>
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.

2 participants