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'.

Hi,

@nguyenbh , could someone from the team please review and merge this PR?

+1 on getting this merged

Ready to merge
This branch is ready to get merged automatically.
Your need to confirm your account before you can post a new comment.

Sign up or log in to comment