Update modeling_deepseek.py

#4
by Daemontatox - opened
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.

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment