Skip to content

Commit

Permalink
Fix mistral after syn1.15 update (#858)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssarkar2 authored and regisss committed Apr 3, 2024
1 parent 445be21 commit eaac913
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ def forward(


class GaudiMistralForCausalLM(MistralForCausalLM):
def allocate_kv_cache(self, batch_size, seq_len, _, __):
def allocate_kv_cache(self, batch_size, seq_len, _):
self.model.allocate_kv_cache(batch_size, seq_len)

def reorder_kv_cache(self, beam_idx: torch.LongTensor):
Expand Down

0 comments on commit eaac913

Please sign in to comment.