-
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
[core] Result node may uses inputs names on creation #28168
base: master
Are you sure you want to change the base?
[core] Result node may uses inputs names on creation #28168
Conversation
…meter) Signed-off-by: Raasz, Pawel <[email protected]>
…or for model Signed-off-by: Raasz, Pawel <[email protected]>
Signed-off-by: Raasz, Pawel <[email protected]>
Tests look good in NPU CI |
Signed-off-by: Raasz, Pawel <[email protected]>
Signed-off-by: Raasz, Pawel <[email protected]>
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.
the following models still fail to report the output names:
- tokenizer generated with a command:
convert_tokenizer -o bge-m3 BAAI/bge-m3
- dummy model created using ov operations https://github.com/openvinotoolkit/model_server/blob/5b9a3df739789eb71471643a23d2ed1dac4a0ac1/tests/models/no_name_output.py
- yolo11 :
import openvino as ov
det_model = YOLO(f"yolo11n.pt")
ir_model_dir = det_model.export(format="openvino", dynamic=True, half=True)```
The errors from `std::string name = output.get_any_name();` is:
OpenVINO with error:Check '!get_names().empty()' failed at src/core/src/descriptor/tensor.cpp:102:
Attempt to get a name for a Tensor without names.
I can't reproduce issues for: In op0 = ov.opset1.multiply(in1, in0, name="MULTIPLY")
op1 = ov.opset1.add(in1, in0, name="ADD")
op0.output(0).set_names({"mul"})
op1.output(0).set_names({"add"}) or model = ov.Model([op0, op1], [in0, in1], model_name)
model.output(0).set_names({"mul"})
model.output(1).set_names({"add"}) There is no general feature to auto name tensors in OV, but there are some exception like python API |
@ilya-lavrenov Could you review PR again? |
Details:
Tickets: