mirror of
https://github.com/abetlen/llama-cpp-python.git
synced 2023-09-07 17:34:22 +03:00
Fix type for eval_logits in LlamaState object
This commit is contained in:
@@ -51,7 +51,7 @@ class LlamaState:
|
|||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
eval_tokens: Deque[llama_cpp.llama_token],
|
eval_tokens: Deque[llama_cpp.llama_token],
|
||||||
eval_logits: Deque[List[llama_cpp.c_float]],
|
eval_logits: Deque[List[float]],
|
||||||
llama_state, # type: llama_cpp.Array[llama_cpp.c_uint8]
|
llama_state, # type: llama_cpp.Array[llama_cpp.c_uint8]
|
||||||
llama_state_size: llama_cpp.c_size_t,
|
llama_state_size: llama_cpp.c_size_t,
|
||||||
):
|
):
|
||||||
|
|||||||
Reference in New Issue
Block a user