Skip to content

Conversation

@EgorDuplensky
Copy link
Contributor

@EgorDuplensky EgorDuplensky commented Jan 17, 2025

Details:

  • There is misalignment between ov::element::type string serialization / de-serialization methods
    and the ir serializer itself.
    After introduction of internal opset FullyConnected operation the 'undefined' element type basically
    became valid and serializable
  • Try to update the serializer and see which tests are going to fail
  • There are potential issues with IR backward compatibility which should be addressed carefully

@EgorDuplensky EgorDuplensky requested a review from a team as a code owner January 17, 2025 15:04
@EgorDuplensky EgorDuplensky requested review from itikhono and removed request for a team January 17, 2025 15:04
@github-actions github-actions bot added the category: Core OpenVINO Core (aka ngraph) label Jan 17, 2025
@EgorDuplensky
Copy link
Contributor Author

EgorDuplensky commented Jan 17, 2025

@praasz @slyalin @itikhono FYI

@EgorDuplensky EgorDuplensky force-pushed the try_to_correct_element_type_serialization branch from b16492a to 799051c Compare January 17, 2025 15:13
Copy link
Contributor

@praasz praasz left a comment

Choose a reason for hiding this comment

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

The more detailed serialization of Precision should be backward compatible as de-serialization just read name and convert it.

return "undefined";
case ::ov::element::Type_t::dynamic:
return "UNSPECIFIED";
return "dynamic";
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you some simple test(s) in:

  • one of file in: src/core/tests/pass/serialization/
  • src/frontends/ir/tests/frontend_test_basic.cpp to check de-serialization also works

@praasz praasz added this to the 2025.1 milestone Jan 22, 2025
@praasz praasz self-assigned this Jan 22, 2025
@praasz
Copy link
Contributor

praasz commented Feb 7, 2025

After merge of #28766 this change will be not required as underdefined and dynamic is same type and undefined will be remove in 2026.0

github-merge-queue bot pushed a commit that referenced this pull request Feb 20, 2025
### Details:
 - Mark `ov::element::undefined` as deprecated
 - Use dynamic type instead of undefined

### Related PRs:
 - openvinotoolkit/openvino_contrib#945
 - #28524 

### Tickets:
 - CVS-161637

---------

Signed-off-by: Pawel Raasz <[email protected]>
Signed-off-by: Raasz, Pawel <[email protected]>
@github-actions
Copy link
Contributor

github-actions bot commented Mar 6, 2025

This PR will be closed in a week because of 2 weeks of no activity.

@github-actions github-actions bot added the Stale label Mar 6, 2025
@mg-intel mg-intel removed the Stale label Mar 6, 2025
@github-actions
Copy link
Contributor

This PR will be closed in a week because of 2 weeks of no activity.

@github-actions github-actions bot added the Stale label Mar 21, 2025
@github-actions
Copy link
Contributor

This PR was closed because it has been stalled for 2 week with no activity.

@github-actions github-actions bot closed this Mar 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: Core OpenVINO Core (aka ngraph) Stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants