From a6f160352570e102da3e53741ffdb26daa6652bb Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Wed, 29 May 2024 15:46:53 +0000 Subject: [PATCH] Missing cohere. --- .../models/custom_modeling/flash_cohere_modeling.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server/text_generation_server/models/custom_modeling/flash_cohere_modeling.py b/server/text_generation_server/models/custom_modeling/flash_cohere_modeling.py index bd8b8016..5cc4e782 100644 --- a/server/text_generation_server/models/custom_modeling/flash_cohere_modeling.py +++ b/server/text_generation_server/models/custom_modeling/flash_cohere_modeling.py @@ -308,6 +308,7 @@ class FlashCohereAttention(torch.nn.Module): self.kv_head_mapping, self.softmax_scale, block_tables, + None, input_lengths, max_s, )