From da140da72a0d8fc49372fae4fc80eed41a26b732 Mon Sep 17 00:00:00 2001 From: Francis Couture-Harpin Date: Mon, 7 Apr 2025 19:38:35 -0400 Subject: [PATCH] gguf-py : fix flake8 lint --- gguf-py/gguf/lazy.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gguf-py/gguf/lazy.py b/gguf-py/gguf/lazy.py index 8ebbe92b5..f9bcadae0 100644 --- a/gguf-py/gguf/lazy.py +++ b/gguf-py/gguf/lazy.py @@ -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: