Skip to content

Commit d0aedfc

Browse files
committed
Fix type annotation
1 parent 2993936 commit d0aedfc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama_cpp/llama_cpp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ def llama_kv_cache_view_init(
10591059

10601060
# // Free a KV cache view. (use only for debugging purposes)
10611061
# LLAMA_API void llama_kv_cache_view_free(struct llama_kv_cache_view * view);
1062-
def llama_kv_cache_view_free(view: llama_kv_cache_view_p):
1062+
def llama_kv_cache_view_free(view: "ctypes._Pointer[llama_kv_cache_view]"): # type: ignore
10631063
"""Free a KV cache view. (use only for debugging purposes)"""
10641064
return _lib.llama_kv_cache_view_free(view)
10651065

0 commit comments

Comments
 (0)