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

Function llm_arch_is_recurrent

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

Source from the content-addressed store, hash-verified

2549}
2550
2551bool llm_arch_is_recurrent(const llm_arch & arch) {
2552 switch (arch) {
2553 case LLM_ARCH_MAMBA:
2554 case LLM_ARCH_MAMBA2:
2555 case LLM_ARCH_RWKV6:
2556 case LLM_ARCH_RWKV6QWEN2:
2557 case LLM_ARCH_RWKV7:
2558 case LLM_ARCH_ARWKV7:
2559 return true;
2560 default:
2561 return false;
2562 }
2563}
2564
2565bool llm_arch_is_hybrid(const llm_arch & arch) {
2566 switch (arch) {

Callers 3

load_hparamsMethod · 0.85
create_memoryMethod · 0.85
llama_model_is_recurrentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected