Skip to content

[cpu] Avoid fusing dynamic dot ops#15

Open
stevenvar wants to merge 2 commits into
for-serving-2.20from
steven.dot_kernel_eigen_fallback
Open

[cpu] Avoid fusing dynamic dot ops#15
stevenvar wants to merge 2 commits into
for-serving-2.20from
steven.dot_kernel_eigen_fallback

Conversation

@stevenvar
Copy link
Copy Markdown
Owner

@stevenvar stevenvar commented Mar 30, 2026

What changed

This change stops CPU fusion when a dot op is dynamic.

Why

A dynamic dot cannot go through the LLVM IR generation path on CPU.
That path needs fixed dimensions.

If a dynamic dot gets fused, it can be sent to that path.
Then compilation fails with:
Unsupported dot implementation strategy

Result

Dynamic CPU dot ops stay unfused.
This lets them use the normal non-fused path.

@stevenvar stevenvar marked this pull request as ready for review March 30, 2026 15:15
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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.

1 participant