Skip to content

Commit bc853e3

Browse files
committed
Fix type for eval_logits in LlamaState object
1 parent ec617c0 commit bc853e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama_cpp/llama.py

Lines 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)