Skip to content

Commit c8f6760

Browse files
committed
fix: Remove llama_model_is_hybrid_Recurrent public API
#13979 (comment) Branch: HybridRecurrentCache Signed-off-by: Gabe Goodhart <[email protected]>
1 parent a3726d6 commit c8f6760

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

include/llama.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -572,9 +572,6 @@ extern "C" {
572572
// Returns true if the model is recurrent (like Mamba, RWKV, etc.)
573573
LLAMA_API bool llama_model_is_recurrent(const struct llama_model * model);
574574

575-
// Returns true if the model is hybrid-recurrent (like Jamba, Bamba, etc.)
576-
LLAMA_API bool llama_model_is_hybrid_recurrent(const struct llama_model * model);
577-
578575
// Returns 0 on success
579576
LLAMA_API uint32_t llama_model_quantize(
580577
const char * fname_inp,

src/llama-model.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14405,10 +14405,6 @@ bool llama_model_is_recurrent(const llama_model * model) {
1440514405
return llm_arch_is_recurrent(model->arch);
1440614406
}
1440714407

14408-
bool llama_model_is_hybrid_recurrent(const llama_model * model) {
14409-
return llm_arch_is_hybrid_recurrent(model->arch);
14410-
}
14411-
1441214408
const std::vector<std::pair<std::string, ggml_tensor *>> & llama_internal_get_tensor_map(const llama_model * model) {
1441314409
return model->tensors_by_name;
1441414410
}

0 commit comments

Comments
 (0)