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 bc853e3

Browse filesBrowse files
committed
Fix type for eval_logits in LlamaState object
1 parent ec617c0 commit bc853e3
Copy full SHA for bc853e3

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎llama_cpp/llama.py

Copy file name to clipboardExpand all lines: llama_cpp/llama.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class LlamaState:
5151
def __init__(
5252
self,
5353
eval_tokens: Deque[llama_cpp.llama_token],
54-
eval_logits: Deque[List[llama_cpp.c_float]],
54+
eval_logits: Deque[List[float]],
5555
llama_state, # type: llama_cpp.Array[llama_cpp.c_uint8]
5656
llama_state_size: llama_cpp.c_size_t,
5757
):

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.