From b3cc8602336aa938e8cc82fe746f5bae7767ea59 Mon Sep 17 00:00:00 2001 From: Jared Van Bortel Date: Thu, 5 Dec 2024 17:25:57 -0500 Subject: [PATCH] remove misplaced assignment to argtypes with wrong values Signed-off-by: Jared Van Bortel --- gpt4all-bindings/python/gpt4all/_pyllmodel.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/gpt4all-bindings/python/gpt4all/_pyllmodel.py b/gpt4all-bindings/python/gpt4all/_pyllmodel.py index c59f1dc5..71f74508 100644 --- a/gpt4all-bindings/python/gpt4all/_pyllmodel.py +++ b/gpt4all-bindings/python/gpt4all/_pyllmodel.py @@ -351,8 +351,6 @@ class LLModel: raise RuntimeError(f'Unable to count prompt tokens: {errmsg}') return n_tok - llmodel.llmodel_count_prompt_tokens.argtypes = [ctypes.c_void_p, ctypes.c_char_p] - @staticmethod def list_gpus(mem_required: int = 0) -> list[str]: """