-
Notifications
You must be signed in to change notification settings - Fork 165
[OpenVINO] Accept nncf dev 2.19.0 builds #1550
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: main
Are you sure you want to change the base?
Conversation
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
nikita-savelyevv
left a comment
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.
Thanks for the quick fix!
nikita-savelyevv
left a comment
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.
On the second look, using is_nncf_version(">=", "2.19.0.dev0") would allow any custom commit between NNCF 2.18 and 2.19 which is not ideal. This won't lead to any failures, but still if someone has such "in-between" version installed, they should be prompted to upgrade to the latest NNCF version.
I wonder if instead validation can use custom commit of optimum-intel and not the latest version?
| import nncf | ||
|
|
||
| if is_nncf_version("<", "2.19"): | ||
| if not is_nncf_version(">=", "2.19.0.dev0"): |
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.
I think we can just cut off the current version value to have in format xx.yy.zz and after that we can do comparation like is_nncf_version("<", "2.19"). It should fix the problem
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.
Thanks for the suggestion! Unfortunately that won't work because in NNCF we increase dev version to the next one right after the release, i.e. the version was updated to 2.19.0.dev0 back in August openvinotoolkit/nncf@5ba2f29. That's why we'll have the same problem as described in #1550 (review).
|
@wkobielx Feel free to close this PR, if another approach was found. I will address the problem separately after some discussion with the team. |
What does this PR do?
Accept custom installed from branch/sha versions - this should allow to use at least 2.19.0 dev0 builds