Skip to content

Commit c392ec2

Browse files
committed
Remove duplicate functions
1 parent efce1f4 commit c392ec2

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

llama_cpp/llama_cpp.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1280,12 +1280,6 @@ def llama_n_ubatch(ctx: llama_context_p, /) -> int:
12801280
def llama_n_seq_max(ctx: llama_context_p, /) -> int:
12811281
...
12821282

1283-
# LLAMA_API int32_t llama_model_n_head_kv(const struct llama_model * model);
1284-
@ctypes_function("llama_model_n_head_kv", [llama_model_p_ctypes], ctypes.c_uint32)
1285-
def llama_model_n_head_kv(model: llama_model_p, /) -> int:
1286-
...
1287-
1288-
12891283
# DEPRECATED(LLAMA_API int32_t llama_n_ctx_train(const struct llama_model * model), "use llama_model_n_ctx_train instead");
12901284
@ctypes_function("llama_n_ctx_train", [llama_model_p_ctypes], ctypes.c_int32)
12911285
def llama_n_ctx_train(model: llama_model_p, /) -> int:

0 commit comments

Comments
 (0)