Update modeling_phi3.py

#99
by iiBLACKii - opened
No description provided.

Updating the line 1292 of modeling_phi3.py from max_cache_length = past_key_values.get_max_length() to max_cache_length = past_key_values.get_max_cache_shape() seems to be fixing the issue.

iiBLACKii changed pull request status to closed
iiBLACKii changed pull request status to open
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