Skip to content

Commit 173ebc7

Browse files
committed
fix: Remove duplicate pooling_type definition and add misisng n_vocab definition in bindings
1 parent f6ed21f commit 173ebc7

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
@@ -1189,12 +1189,6 @@ def llama_rope_type(model: llama_model_p, /) -> int:
11891189
...
11901190

11911191

1192-
# LLAMA_API enum llama_pooling_type llama_pooling_type(const struct llama_model * model);
1193-
@ctypes_function("llama_pooling_type", [llama_model_p_ctypes], ctypes.c_int)
1194-
def llama_pooling_type(model: llama_model_p, /) -> int:
1195-
...
1196-
1197-
11981192
# LLAMA_API int32_t llama_n_vocab (const struct llama_model * model);
11991193
@ctypes_function("llama_n_vocab", [llama_model_p_ctypes], ctypes.c_int32)
12001194
def llama_n_vocab(model: llama_model_p, /) -> int:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy