Skip to content

Fix Transformers 4.57 export compatibility - #1379

Merged
Yue Sun (KayMKM) merged 1 commit into
release/v0.3.1from
fix/transformers-4.57-export-compat
Sep 1, 2026
Merged

Fix Transformers 4.57 export compatibility#1379
Yue Sun (KayMKM) merged 1 commit into
release/v0.3.1from
fix/transformers-4.57-export-compat

Conversation

@KayMKM

Copy link
Copy Markdown
Contributor

Summary

  • normalize integral attention masks before Optimum calls PyTorch SDPA
  • use the model's positional export protocol during HTP hierarchy tracing
  • pass a Transformers 4.57-compatible 3-D binary mask to the BLIP decoder

Validation

  • 54 focused unit tests passed
  • DistilBERT fill-mask evaluation passed on OpenVINO NPU
  • BLIP FP16 image-to-text evaluation passed on OpenVINO NPU
  • both affected eval E2E cases passed in 445.90s
  • Ruff passed

@KayMKM
Yue Sun (KayMKM) requested a review from a team as a code owner September 1, 2026 06:46
@KayMKM
Yue Sun (KayMKM) merged commit c139c53 into release/v0.3.1 Sep 1, 2026
9 checks passed
@KayMKM
Yue Sun (KayMKM) deleted the fix/transformers-4.57-export-compat branch September 1, 2026 08:14
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