8000 feat: Update llama.cpp · sunnykim1206/llama-cpp-python@0653e15 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0653e15

Browse files
committed
feat: Update llama.cpp
1 parent 7981e9c commit 0653e15

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llama_cpp/llama_cpp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2049,7 +2049,7 @@ def llama_token_to_piece(
20492049

20502050
# /// Apply chat template. Inspired by hf apply_chat_template() on python.
20512051
# /// Both "model" and "custom_template" are optional, but at least one is required. "custom_template" has higher precedence than "model"
2052-
# /// NOTE: This function only support some known jinja templates. It is not a jinja parser.
2052+
# /// NOTE: This function does not use a jinja parser. It only support a pre-defined list of template. See more: https://github.com/ggerganov/llama.cpp/wiki/Templates-supported-by-llama_chat_apply_template
20532053
# /// @param tmpl A Jinja template to use for this chat. If this is nullptr, the model’s default chat template will be used instead.
20542054
# /// @param chat Pointer to a list of multiple llama_chat_message
20552055
# /// @param n_msg Number of llama_chat_message in this chat

vendor/llama.cpp

0 commit comments

Comments
 (0)
0