You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to fix this error for custom model pruning? The pruning was done but some layers weren't pruned properly. I got this error at the time of inference
key_states = key_states.view(bsz, q_len, self.num_key_value_heads, self.head_dim).transpose(1, 2) RuntimeError: shape '[1, 7, 4, 128]' is invalid for input of size 2688
The text was updated successfully, but these errors were encountered:
How to fix this error for custom model pruning? The pruning was done but some layers weren't pruned properly. I got this error at the time of inference
key_states = key_states.view(bsz, q_len, self.num_key_value_heads, self.head_dim).transpose(1, 2) RuntimeError: shape '[1, 7, 4, 128]' is invalid for input of size 2688
The text was updated successfully, but these errors were encountered: