File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -573,7 +573,7 @@ extern "C" {
573
573
LLAMA_API bool llama_model_is_recurrent (const struct llama_model * model);
574
574
575
575
// Returns true if the model is hybrid-recurrent (like Jamba, Bamba, etc.)
576
- LLAMA_API bool llama_model_is_hybrid (const struct llama_model * model);
576
+ LLAMA_API bool llama_model_is_hybrid_recurrent (const struct llama_model * model);
577
577
578
578
// Returns 0 on success
579
579
LLAMA_API uint32_t llama_model_quantize (
Original file line number Diff line number Diff line change @@ -1831,7 +1831,7 @@ bool llm_arch_is_recurrent(const llm_arch & arch) {
1831
1831
}
1832
1832
}
1833
1833
1834
- bool llm_arch_is_hybrid (const llm_arch & arch) {
1834
+ bool llm_arch_is_hybrid_recurrent (const llm_arch & arch) {
1835
1835
// TODO: There are currently no hybrid models! Once there are, this will be
1836
1836
// the place to identify them
1837
1837
switch (arch) {
Original file line number Diff line number Diff line change @@ -442,4 +442,4 @@ llm_arch llm_arch_from_string(const std::string & name);
442
442
const llm_tensor_info & llm_tensor_info_for (llm_tensor tensor);
443
443
444
444
bool llm_arch_is_recurrent (const llm_arch& arch);
445
- bool llm_arch_is_hybrid (const llm_arch& arch);
445
+ bool llm_arch_is_hybrid_recurrent (const llm_arch& arch);
Original file line number Diff line number Diff line change @@ -14384,8 +14384,8 @@ bool llama_model_is_recurrent(const llama_model * model) {
14384
14384
return llm_arch_is_recurrent(model->arch);
14385
14385
}
14386
14386
14387
- bool llama_model_is_hybrid (const llama_model * model) {
14388
- return llm_arch_is_hybrid (model->arch);
14387
+ bool llama_model_is_hybrid_recurrent (const llama_model * model) {
14388
+ return llm_arch_is_hybrid_recurrent (model->arch);
14389
14389
}
14390
14390
14391
14391
const std::vector<std::pair<std::string, ggml_tensor *>> & llama_internal_get_tensor_map(const llama_model * model) {
You can’t perform that action at this time.
0 commit comments