mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-06-24 14:32:03 +00:00
remove misplaced assignment to argtypes with wrong values
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
parent
5b8682a655
commit
b3cc860233
@ -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]:
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user