Update modeling_phi3.py for compatibility with transformers 4.49
#13
by
sylwia-kuros
- opened
After updating transformers to version 4.49, the following error occurs: AttributeError: 'DynamicCache' object has no attribute 'get_max_length'.
sylwia-kuros
changed pull request title from
Update modeling_minicpm.py for compatibility with transformers 4.49
to Update modeling_phi3.py for compatibility with transformers 4.49
Hi,
@nguyenbh , could someone from the team please review and merge this PR?
nguyenbh
changed pull request status to
merged