Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0e15835

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

File tree

Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-3
lines changed

‎llama_cpp/llama_chat_format.py

Copy file name to clipboardExpand all lines: llama_cpp/llama_chat_format.py
-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.