Change8

v4.48.3

📦 transformersView on GitHub →
🐛 4 fixes🔧 4 symbols

Summary

This patch release primarily addresses Python 3.9 compatibility issues, fixes device failures in the RoPE module, and resolves generation bugs for PaliGemma2.

Migration Steps

  1. Upgrade to v4.48.3 to resolve Python 3.9 runtime errors and RoPE device placement issues.

🐛 Bug Fixes

  • Resolved Python 3.9 compatibility issues by adding future imports.
  • Fixed device placement failures in the RoPE module when using dynamic updates.
  • Fixed model kwargs compatibility for models using num_items_in_batch.
  • Fixed PaliGemma2 generation by propagating the Gemma2 fix.

🔧 Affected Symbols

ropenum_items_in_batchPaliGemma2Gemma2