Skip to content

Fix Florence2 compatibility with transformers >= 4.42 - #123

Open
lovisdotio wants to merge 31 commits into
chflame163:mainfrom
lovisdotio:main
Open

Fix Florence2 compatibility with transformers >= 4.42#123
lovisdotio wants to merge 31 commits into
chflame163:mainfrom
lovisdotio:main

Conversation

@lovisdotio

Copy link
Copy Markdown
  • Add patches for _tie_or_clone_weights removal
  • Add _supports_sdpa = False to Florence2 classes
  • Fix ModelOutput docstring validation errors
  • Use use_cache=False to avoid past_key_values issues

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