Skip to content

[Example] [TorchFX] Fix TorchFX Example for Transformers Version Upgrade#4104

Draft
anzr299 wants to merge 1 commit into
openvinotoolkit:developfrom
anzr299:fix_fx_example
Draft

[Example] [TorchFX] Fix TorchFX Example for Transformers Version Upgrade#4104
anzr299 wants to merge 1 commit into
openvinotoolkit:developfrom
anzr299:fix_fx_example

Conversation

@anzr299

@anzr299 anzr299 commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Changes

Remove static cache object from the torch fx example.

Reason for changes

Transformers 5.0.0 doesn't have static cache object but instead expects a dict.

Tests

Test examples - success

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