Update llama.cpp
This commit is contained in:
parent
2f03fb0231
commit
4a85442c35
2 changed files with 8 additions and 2 deletions
|
@ -733,8 +733,14 @@ def llama_n_ctx(ctx: llama_context_p) -> int:
|
|||
|
||||
|
||||
_lib.llama_n_ctx.argtypes = [llama_context_p]
|
||||
_lib.llama_n_ctx.restype = c_int
|
||||
_lib.llama_n_ctx.restype = c_uint32
|
||||
|
||||
# LLAMA_API uint32_t llama_n_batch (const struct llama_context * ctx);
|
||||
def llama_n_batch(ctx: llama_context_p) -> int:
|
||||
return _lib.llama_n_batch(ctx)
|
||||
|
||||
_lib.llama_n_batch.argtypes = [llama_context_p]
|
||||
_lib.llama_n_batch.restype = c_uint32
|
||||
|
||||
# LLAMA_API enum llama_vocab_type llama_vocab_type(const struct llama_model * model);
|
||||
def llama_vocab_type(model: llama_model_p) -> int:
|
||||
|
|
2
vendor/llama.cpp
vendored
2
vendor/llama.cpp
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 8fe03ffddaaa0ab5d48feaafe398151c9f22d4f6
|
||||
Subproject commit afefa319f1f59b002dfa0d1ef407a2c74bd9770b
|
Loading…
Reference in a new issue