Skip to content

Gemma3 Bidirectional Attention Mask Bug #1304

@sammysun0711

Description

@sammysun0711

Based on https://huggingface.co/blog/gemma3, Images cannot attend to future images but current transformers implementation will unmask attention within all images

Need to update following code for optimum-intel openvino export after PR38080 merged:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions