File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1059,7 +1059,7 @@ def llama_kv_cache_view_init(
1059
1059
1060
1060
# // Free a KV cache view. (use only for debugging purposes)
1061
1061
# LLAMA_API void llama_kv_cache_view_free(struct llama_kv_cache_view * view);
1062
- def llama_kv_cache_view_free (view : "ctypes._Pointer [llama_kv_cache_view]" ): # type: ignore
1062
+ def llama_kv_cache_view_free (view : "ctypes.pointer [llama_kv_cache_view]" ): # type: ignore
1063
1063
"""Free a KV cache view. (use only for debugging purposes)"""
1064
1064
return _lib .llama_kv_cache_view_free (view )
1065
1065
@@ -1070,7 +1070,7 @@ def llama_kv_cache_view_free(view: "ctypes._Pointer[llama_kv_cache_view]"): # ty
1070
1070
1071
1071
# // Update the KV cache view structure with the current state of the KV cache. (use only for debugging purposes)
1072
1072
# LLAMA_API void llama_kv_cache_view_update(const struct llama_context * ctx, struct llama_kv_cache_view * view);
1073
- def llama_kv_cache_view_update (ctx : llama_context_p , view : "ctypes._Pointer [llama_kv_cache_view]" ): # type: ignore
1073
+ def llama_kv_cache_view_update (ctx : llama_context_p , view : "ctypes.pointer [llama_kv_cache_view]" ): # type: ignore
1074
1074
"""Update the KV cache view structure with the current state of the KV cache. (use only for debugging purposes)"""
1075
1075
return _lib .llama_kv_cache_view_update (ctx , view )
1076
1076
You can’t perform that action at this time.
0 commit comments