Skip to content

Commit b3cc860

Browse files
committed
remove misplaced assignment to argtypes with wrong values
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
1 parent 5b8682a commit b3cc860

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

gpt4all-bindings/python/gpt4all/_pyllmodel.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,6 @@ def count_prompt_tokens(self, prompt: str) -> int:
351351
raise RuntimeError(f'Unable to count prompt tokens: {errmsg}')
352352
return n_tok
353353

354-
llmodel.llmodel_count_prompt_tokens.argtypes = [ctypes.c_void_p, ctypes.c_char_p]
355-
356354
@staticmethod
357355
def list_gpus(mem_required: int = 0) -> list[str]:
358356
"""

0 commit comments

Comments
 (0)