Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a855147

Browse filesBrowse files
Update llama_cpp.py - Fix c_char_p to Array[c_char_p] and c_float to Array[c_float]
1 parent 5549a1c commit a855147
Copy full SHA for a855147

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎llama_cpp/llama_cpp.py

Copy file name to clipboardExpand all lines: llama_cpp/llama_cpp.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.