Skip to content

fix(ml): pad attention heads for openvino - #74

Merged
mertalev merged 1 commit into
mainfrom
feat/openvino-head-pad
Oct 14, 2026
Merged

mertalev merged 1 commit into
mainfrom
feat/openvino-head-pad

Conversation

@mertalev

@mertalev mertalev commented Oct 6, 2026

Copy link
Copy Markdown
Member

OpenVINO doesn't handle unaligned head sizes correctly, leading to NaN's sometimes appearing in the results. This PR pads as a workaround, which is a more targeted fix than disabling SDPA or oneDNN altogether.

@mertalev
mertalev requested a review from bo0tzz October 6, 2026 03:56
@mertalev
mertalev merged commit 0e96516 into main Oct 14, 2026
156 checks passed
@mertalev
mertalev deleted the feat/openvino-head-pad branch October 14, 2026 00:51
@mertalev
mertalev restored the feat/openvino-head-pad branch October 14, 2026 00:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants