It's broken with new version of Transformers

#2
by ctranslate2-4you - opened

Error querying database: 'DynamicCache' object has no attribute 'get_usable_length'

This stems from the "cache_utils.py" script in transformers and possibly others. Transformers version 4.53.3 was the last one to use it...but it's been removed/deprecated.

@ctranslate2-4you Thanks for fixing this issue in #3!

Sign up or log in to comment