File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
1
from __future__ import annotations
2
2
3
- import sys
4
- import os
5
3
import ctypes
6
4
import functools
5
+ import os
7
6
import pathlib
8
-
7
+ import sys
9
8
from typing import (
9
+ TYPE_CHECKING ,
10
10
Any ,
11
11
Callable ,
12
+ Generic ,
12
13
List ,
13
- Union ,
14
14
NewType ,
15
15
Optional ,
16
- TYPE_CHECKING ,
17
16
TypeVar ,
18
- Generic ,
17
+ Union ,
19
18
)
19
+
20
20
from typing_extensions import TypeAlias
21
21
22
22
@@ -1767,7 +1767,7 @@ def llama_kv_cache_view_init(
1767
1767
# // Free a KV cache view. (use only for debugging purposes)
1768
1768
# LLAMA_API void llama_kv_cache_view_free(struct llama_kv_cache_view * view);
1769
1769
@ctypes_function ("llama_kv_cache_view_free" , [llama_kv_cache_view_p ], None )
1770
- def llama_kv_cache_view_free (view : " ctypes.pointer[llama_kv_cache_view]" , / ): # type: ignore
1770
+ def llama_kv_cache_view_free (view : ctypes .pointer [llama_kv_cache_view ], / ): # type: ignore
1771
1771
"""Free a KV cache view. (use only for debugging purposes)"""
1772
1772
...
1773
1773
You can’t perform that action at this time.
0 commit comments