Updated modelling.py - replaced deprecated get_max_length() with get_max_cache_shape() for transformers 4.49+
Browse filesThe method get_max_length of 'DynamicCache' is deprecated and has been removed in transformer 4.49.
The method here has been replaced with get_max_cache_shape()
Similar issue addressed in deepseek V2 lite - https://huggingface.co/deepseek-ai/DeepSeek-V2-Lite/commit/faea2faa9ec002397d20e90dae777c4252022f3a
- modeling_phi3.py +0 -0
modeling_phi3.py
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|