Update modeling_phi3.py for compatibility with transformers 4.49
#35
by
sylwia-kuros
- opened
After updating transformers to version 4.49, the following error occurs: AttributeError: 'DynamicCache' object has no attribute 'get_max_length'.
I am getting this problem too, I hope the team will merge this
Considering this is not fixed, I have forked this repo to fix the issue here: https://huggingface.co/Lexius/Phi-3.5-mini-instruct