remove misplaced assignment to argtypes with wrong values

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
Jared Van Bortel 2024-12-05 17:25:57 -05:00
parent 5b8682a655
commit b3cc860233

View File

@ -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]:
"""