Fix type annotation
This commit is contained in:
parent
d0aedfcff6
commit
b703aad79e
1 changed files with 1 additions and 1 deletions
|
@ -1070,7 +1070,7 @@ _lib.llama_kv_cache_view_free.restype = None
|
|||
|
||||
# // Update the KV cache view structure with the current state of the KV cache. (use only for debugging purposes)
|
||||
# LLAMA_API void llama_kv_cache_view_update(const struct llama_context * ctx, struct llama_kv_cache_view * view);
|
||||
def llama_kv_cache_view_update(ctx: llama_context_p, view: llama_kv_cache_view_p):
|
||||
def llama_kv_cache_view_update(ctx: llama_context_p, view: "ctypes._Pointer[llama_kv_cache_view]"): # type: ignore
|
||||
"""Update the KV cache view structure with the current state of the KV cache. (use only for debugging purposes)"""
|
||||
return _lib.llama_kv_cache_view_update(ctx, view)
|
||||
|
||||
|
|
Loading…
Reference in a new issue