Broken on new versions of transformers

#4
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.

inftech.ai org

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

Sign up or log in to comment