Skip to content

Commit 47de3ab

Browse files
committed
Update llama.cpp
1 parent 3f76e1d commit 47de3ab

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

llama_cpp/llama_cpp.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1487,6 +1487,15 @@ def llama_log_set(
14871487
_lib.llama_log_set.argtypes = [llama_log_callback, c_void_p]
14881488
_lib.llama_log_set.restype = None
14891489

1490+
1491+
# LLAMA_API void llama_dump_timing_info_yaml(FILE * stream, const struct llama_context * ctx);
1492+
def llama_dump_timing_info_yaml(stream: ctypes.c_void_p, ctx: llama_context_p):
1493+
return _lib.llama_dump_timing_info_yaml(stream, ctx)
1494+
1495+
_lib.llama_dump_timing_info_yaml.argtypes = [ctypes.c_void_p, llama_context_p]
1496+
_lib.llama_dump_timing_info_yaml.restype = None
1497+
1498+
14901499
###################################################################################################
14911500

14921501

vendor/llama.cpp

0 commit comments

Comments
 (0)