disable eltwise fusion to FC if connected to input_hidden_states#35720
Open
nazanin-beheshti wants to merge 3 commits into
Open
disable eltwise fusion to FC if connected to input_hidden_states#35720nazanin-beheshti wants to merge 3 commits into
nazanin-beheshti wants to merge 3 commits into
Conversation
rkazants
requested changes
May 8, 2026
Collaborator
rkazants
left a comment
There was a problem hiding this comment.
can you please provide tests?
Contributor
|
The PR description looks confusing. If you still get incorrect results, we don't need this change. |
Contributor
Contributor
Author
Contributor
Author
Contributor
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.









Details:
WO any changes, the output from OV GPU was garbage repeated characters. (attached)
Disabling fusion in that small red loop did not resolve accuracy issue.
By narrowing down the issue, we figured out that element wise connected to input_hidden_states fused to the fullyConnected is the source of trash output.

I also check the oneDNN kernel (fc + eltwise) with real sample inputs. The inputs are dumped buffer from OV GPU.
I use the dumper input buffers from OV GPU as input buffers to the oneDNN kernel.
The kernel pass and no issue found with the kernel itself.
using -v100, the kernel output match with fc_dst dumped buffer output from OV GPU.
Tickets:
AI Assistance: