Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0e15835

Browse files
committed
Logits all no longer required for multi-modal models
1 parent 0b891f4 commit 0e15835

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llama_cpp/llama_chat_format.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2279,9 +2279,6 @@ def __call__(
22792279
llama_types.CreateChatCompletionResponse,
22802280
Iterator[llama_types.CreateChatCompletionStreamResponse],
22812281
]:
2282-
assert (
2283-
llama.context_params.logits_all is True
2284-
) # BUG: logits_all=True is required for llava
22852282
assert self.clip_ctx is not None
22862283

22872284
system_prompt = _get_system_message(messages)

0 commit comments

Comments
 (0)