mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-03-14 15:57:27 +00:00
Tree: Format
Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
This commit is contained in:
@@ -270,8 +270,7 @@ class ExllamaV2Container(BaseModelContainer):
|
||||
self.config.max_seq_len = self.adjust_max_seq_len(user_max_seq_len)
|
||||
else:
|
||||
self.config.max_seq_len = unwrap(
|
||||
user_max_seq_len,
|
||||
min(hf_model.hf_config.max_position_embeddings, 4096)
|
||||
user_max_seq_len, min(hf_model.hf_config.max_position_embeddings, 4096)
|
||||
)
|
||||
|
||||
# Set the rope scale
|
||||
|
||||
Reference in New Issue
Block a user