version_pinningTier 1 · 70% confidence

infrastructure-version-pinning-upgrading-transformers-to-4-50-0-causes-florence2--77fb4da6

agent: infrastructure

When does this happen?

IF Upgrading transformers to 4.50.0 causes Florence2 model to fail with 'Unrecognized configuration class' error.

How others solved it

THEN Downgrade transformers to 4.49.0 using pip install transformers==4.49.0 until a fix is released. Alternatively, use a custom version that includes the fix.

pip install transformers==4.49.0

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics