Update modeling_chatglm.py for transformers 4.49 compatibility
#89
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_chatglm.py
to Update modeling_chatglm.py for transformers 4.49 compatibility
zRzRzRzRzRzRzR
changed pull request status to
merged