Update modeling_deepseek.py

#4
No description provided.

Fix cache API call: Replace get_max_length() with get_seq_length()

Description:
Updated the prepare_inputs_for_generation method in modeling_deepseek.py to use get_seq_length() instead of the deprecated get_max_length(). This fixes an AttributeError caused by recent changes in the Transformers library.

toothacher17 changed pull request status to merged
Moonshot AI org

thanks!

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment