-
Notifications
You must be signed in to change notification settings - Fork 3.5k
to_onnx return ONNXProgram #20811
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
base: master
Are you sure you want to change the base?
to_onnx return ONNXProgram #20811
Conversation
Hi @Borda , a friendly ping for code review~ BTW, I'm wondering if there's any way to update the typing-extensions requirement during testing so that it could fit with onnxscript? Thanks. |
seems this to be the cause of issue:
I wonder what could be the reason behind this version pinning. error:
|
Yea, I think that's where the problem is, and there're two solutions for this.
Personally, I'd prefer the second one, but this probably would need some change to the ci config which I not familiar with. |
Hi @deependujha all the changes are completed, just left with the requirement part. And to answer your question, I think it's for testing the compatibility of all the requirements with the lowest supported version. |
not sure if the failing tests are related to this change or they are a bit flaky... 🤔 |
Hi @Borda |
Or I'm wondering if it's possible to install onnxscript only when torch version 2.4.0 or above is installed during testing 🤔 |
Why this limitation? You can make some tests skip if PT is below a certain version... |
Yes, currently only torch 2.7.0 or higher supports running the newly added tests. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #20811 +/- ##
=======================================
- Coverage 87% 87% -0%
=======================================
Files 268 268
Lines 23442 23451 +9
=======================================
+ Hits 20394 20398 +4
- Misses 3048 3053 +5 |
Hi @Borda , mind if I pin |
@@ -138,7 +138,7 @@ jobs: | |||
- name: Install package & dependencies | |||
timeout-minutes: 20 | |||
run: | | |||
pip install -e ".[${EXTRA_PREFIX}test,${EXTRA_PREFIX}strategies]" -U --prefer-binary \ | |||
pip install -e ".[${EXTRA_PREFIX}test,${EXTRA_PREFIX}strategies,${EXTRA_PREFIX}serve]" -U --prefer-binary \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how this should be changed so that it could install the right extra packages ...
What does this PR do?
Fixes #20810
Before submitting
PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:
Reviewer checklist
📚 Documentation preview 📚: https://pytorch-lightning--20811.org.readthedocs.build/en/20811/