Skip to content

[GPU] Add MVN eltwise fusion tests for AdaLayerNorm pattern#35027

Open
MDerazNasr wants to merge 3 commits intoopenvinotoolkit:masterfrom
MDerazNasr:mvn-ada-layer-norm-fusion-tests
Open

[GPU] Add MVN eltwise fusion tests for AdaLayerNorm pattern#35027
MDerazNasr wants to merge 3 commits intoopenvinotoolkit:masterfrom
MDerazNasr:mvn-ada-layer-norm-fusion-tests

Conversation

@MDerazNasr
Copy link
Copy Markdown

AdaLayerNorm, used in DiT flow matching models, decomposes in OpenVINO IR to MVN followed by eltwise_prod(scale) and eltwise_sum(shift). Existing fusion tests cover a single eltwise post-op on MVN or eltwise followed by quantize. This adds two test classes to mvn_fusion_test.cpp covering the chained scale and shift case: one with static data inputs and one with dynamic input_layout inputs matching the runtime conditioning path.

Details:

  • Added mvn_scale_shift and mvn_dynamic_affine test classes to mvn_fusion_test.cpp*

Tickets:

AI Assistance:

  • no

AdaLayerNorm, used in DiT flow matching models, decomposes in OpenVINO IR
to MVN followed by eltwise_prod(scale) and eltwise_sum(shift). Existing
fusion tests cover a single eltwise post-op on MVN or eltwise followed by
quantize. This adds two test classes to mvn_fusion_test.cpp covering the
chained scale and shift case: one with static data inputs and one with
dynamic input_layout inputs matching the runtime conditioning path.
@MDerazNasr MDerazNasr requested review from a team as code owners March 30, 2026 05:05
@github-actions github-actions Bot added the category: GPU OpenVINO GPU plugin label Mar 30, 2026
@sys-openvino-ci sys-openvino-ci added the ExternalPR External contributor label Mar 30, 2026
@p-durandin
Copy link
Copy Markdown
Contributor

build_jenkins

@p-durandin
Copy link
Copy Markdown
Contributor

build_jenkins

@p-durandin p-durandin added this to the 2026.2 milestone Apr 23, 2026
@p-durandin
Copy link
Copy Markdown
Contributor

build_jenkins

Copy link
Copy Markdown
Contributor

@p-durandin p-durandin left a comment

Choose a reason for hiding this comment

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

New MVN tests failed for ADL and DG2, please take a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: GPU OpenVINO GPU plugin ExternalPR External contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[GPU] MVN fusion tests missing coverage for chained eltwise scale and shift (AdaLayerNorm pattern)

3 participants