fix for transformers 4.49 compatibility.

#91
by katuni4ka - opened

past_key_values.get_max_length() no longer available in transformers 4.49 and above

I believe we can get rid of the reference to get_max_length entirely
https://huggingface.co/deepseek-ai/DeepSeek-V3/discussions/88/files

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