Skip to content

[Core] Fix Concat::evaluate segfault for sub-byte types (#38057) - #38076

Open
Devarsh-7 wants to merge 2 commits into
openvinotoolkit:masterfrom
Devarsh-7:fix/concat-sub-byte-evaluate-segfault
Open

[Core] Fix Concat::evaluate segfault for sub-byte types (#38057)#38076
Devarsh-7 wants to merge 2 commits into
openvinotoolkit:masterfrom
Devarsh-7:fix/concat-sub-byte-evaluate-segfault

Conversation

@Devarsh-7

Copy link
Copy Markdown

Details:

  • Support all sub-byte element types (u1, u2, u4, i4, nf4, f4e2m1) in reference::concat / Concat::evaluate by scaling slice byte size and offsets according to element bitwidth.
  • Fix input offset calculation across steps in reference::concat for sub-byte types (previously in_offset was computed using element count instead of byte count before size /= 2).
  • Resolves segmentation fault when constant folding horizontally fused Q2_0 weights in the GPU plugin.
  • Add unit tests for Concat::evaluate with sub-byte types (u1, u2, u4).

Tickets:

Details:

  • item1
  • ...

Tickets:

  • ticket-id

AI Assistance:

  • AI assistance used: no / yes
  • If yes, summarize how AI was used and what human validation was performed (build/tests/manual checks).

…kit#38057)

### Details:
 - Support all sub-byte element types (u1, u2, u4, i4, nf4, f4e2m1) in reference::concat / Concat::evaluate by scaling slice byte size and offsets according to element bitwidth.
 - Fix input offset calculation across steps in reference::concat for sub-byte types (previously in_offset was computed using element count instead of byte count before size /= 2).
 - Resolves segmentation fault when constant folding horizontally fused Q2_0 weights in the GPU plugin.
 - Add unit tests for Concat::evaluate with sub-byte types (u1, u2, u4).

### Tickets:
 - openvinotoolkit#38057
@Devarsh-7
Devarsh-7 requested a review from a team as a code owner September 10, 2026 19:41
@github-actions github-actions Bot added the category: Core OpenVINO Core (aka ngraph) label Sep 10, 2026
@sys-openvino-ci sys-openvino-ci added the ExternalPR External contributor label Sep 10, 2026
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) ExternalPR External contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants