Skip to content

Commit d980fa9

Browse files
authored
Lint
1 parent e7774f0 commit d980fa9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

llama_cpp/llama_cpp.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
from __future__ import annotations
22

3-
import sys
4-
import os
53
import ctypes
64
import functools
5+
import os
76
import pathlib
8-
7+
import sys
98
from typing import (
9+
TYPE_CHECKING,
1010
Any,
1111
Callable,
12+
Generic,
1213
List,
13-
Union,
1414
NewType,
1515
Optional,
16-
TYPE_CHECKING,
1716
TypeVar,
18-
Generic,
17+
Union,
1918
)
19+
2020
from typing_extensions import TypeAlias
2121

2222

@@ -1767,7 +1767,7 @@ def llama_kv_cache_view_init(
17671767
# // Free a KV cache view. (use only for debugging purposes)
17681768
# LLAMA_API void llama_kv_cache_view_free(struct llama_kv_cache_view * view);
17691769
@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
17711771
"""Free a KV cache view. (use only for debugging purposes)"""
17721772
...
17731773

0 commit comments

Comments
 (0)