Update modeling_phi3_v.py for compatibility with transformers 4.49
#37
by
sylwia-kuros
- opened
After updating transformers to version 4.49, the following error occurs: AttributeError: 'DynamicCache' object has no attribute 'get_max_length'.
+1 on getting this merged
Considering this is still not merged, I have created a fork of the repository and fixed the issue: https://huggingface.co/Lexius/Phi-3.5-vision-instruct