mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-04-14 10:36:07 +00:00
gguf-py : fix flake8 lint
This commit is contained in:
parent
6cbbd8e1df
commit
da140da72a
@ -142,6 +142,7 @@ class LazyBase(ABC, metaclass=LazyMeta):
|
||||
elif isinstance(res, tuple) and all(isinstance(t, cls._tensor_type) for t in res):
|
||||
# share the evaluation between lazy tuple elements
|
||||
shared_args: list = [args, None]
|
||||
|
||||
def eager_tuple_element(a: list[Any], i: int = 0, /, **kw) -> LazyBase:
|
||||
assert len(a) == 2
|
||||
if a[1] is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user