MCPcopy Create free account
hub / github.com/appdevforall/CodeOnTheGo / llm_arch_is_hybrid

Function llm_arch_is_hybrid

subprojects/llama.cpp/src/llama-arch.cpp:2565–2580  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2563}
2564
2565bool llm_arch_is_hybrid(const llm_arch & arch) {
2566 switch (arch) {
2567 case LLM_ARCH_JAMBA:
2568 case LLM_ARCH_FALCON_H1:
2569 case LLM_ARCH_PLAMO2:
2570 case LLM_ARCH_GRANITE_HYBRID:
2571 case LLM_ARCH_LFM2:
2572 case LLM_ARCH_LFM2MOE:
2573 case LLM_ARCH_NEMOTRON_H:
2574 case LLM_ARCH_NEMOTRON_H_MOE:
2575 case LLM_ARCH_QWEN3NEXT:
2576 return true;
2577 default:
2578 return false;
2579 }
2580}
2581
2582bool llm_arch_is_diffusion(const llm_arch & arch) {
2583 switch (arch) {

Callers 2

create_memoryMethod · 0.85
llama_model_is_hybridFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected