Skip to content

Commit a9cb645

Browse files
authored
Merge pull request abetlen#511 from viniciusarruda/patch-1
Update llama_cpp.py - Fix c_char_p to Array[c_char_p] and c_float to …
2 parents 5549a1c + a855147 commit a9cb645

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama_cpp/llama_cpp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ def llama_get_vocab(
748748
return _lib.llama_get_vocab(ctx, strings, scores, capacity)
749749

750750

751-
_lib.llama_get_vocab.argtypes = [llama_context_p, c_char_p, c_float, c_int]
751+
_lib.llama_get_vocab.argtypes = [llama_context_p, Array[c_char_p], Array[c_float], c_int]
752752
_lib.llama_get_vocab.restype = c_int
753753

754754

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy