-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[Py OV] Remove imports of openvino.runtime from openvino module #27479
[Py OV] Remove imports of openvino.runtime from openvino module #27479
Conversation
Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
src/bindings/python/src/openvino/frontend/tensorflow/node_decoder.py
Outdated
Show resolved
Hide resolved
…into almilosz/ov-rt-deprecation-warn Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
build_jenkins |
|
||
warnings.warn( | ||
"The `openvino.runtime` module is deprecated and will be removed in the 2026.0 release. " | ||
"Please replace `openvino.runtime` with `openvino` after 25.1 release.", |
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.
"Please replace `openvino.runtime` with `openvino` after 25.1 release.", | |
"Please replace `openvino.runtime` with `openvino` after 2025.0 release.", |
?
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 moved the warning to a separate PR. Let's discuss the final form of the message and when warning should be shown there
src/bindings/python/src/openvino/frontend/pytorch/torchdynamo/compile.py
Outdated
Show resolved
Hide resolved
src/bindings/python/src/openvino/frontend/pytorch/torchdynamo/execute.py
Outdated
Show resolved
Hide resolved
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.
Please, check other tools/ovc
files and make import from openvino, not from openvino._pyopenvino
.
Or keep imports from openvino.runtime
and let's update import there by separate PR to reduce the number of changed files in this PR.
Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
Signed-off-by: Alicja Miloszewska <[email protected]>
Revert changes to tools/ovc/openvino/ beside tools/ovc/openvino/__init__.py
Details:
Remove
openvino.runtime
imports from python/src/openvino that unnecessary trigger the warningTickets: