Skip to content

Draft: feat: add compatibility with transformers V5#1563

Open
therealmichaelberna wants to merge 1 commit intoFlagOpen:masterfrom
therealmichaelberna:transformers-v5-compat
Open

Draft: feat: add compatibility with transformers V5#1563
therealmichaelberna wants to merge 1 commit intoFlagOpen:masterfrom
therealmichaelberna:transformers-v5-compat

Conversation

@therealmichaelberna
Copy link

@therealmichaelberna therealmichaelberna commented Mar 5, 2026

Created alternative shim method to determine if torch is available and accompanying pytest unit tests.
Will allow FlagEmbedding to work with transformers version 5 now.

Resolves: #1561

@therealmichaelberna therealmichaelberna changed the title feat: add compatibility with transformers V5 Draft: feat: add compatibility with transformers V5 Mar 5, 2026
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.

huggingface transformers has removed the is_torch_fx_available function

1 participant