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

Function llm_arch_name

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

Source from the content-addressed store, hash-verified

2527}
2528
2529const char * llm_arch_name(llm_arch arch) {
2530 auto it = LLM_ARCH_NAMES.find(arch);
2531 if (it == LLM_ARCH_NAMES.end()) {
2532 return "unknown";
2533 }
2534 return it->second;
2535}
2536
2537llm_arch llm_arch_from_string(const std::string & name) {
2538 for (const auto & kv : LLM_ARCH_NAMES) { // NOLINT

Callers 3

arch_nameMethod · 0.85
state_write_dataMethod · 0.85
state_read_dataMethod · 0.85

Calls 2

findMethod · 0.65
endMethod · 0.45

Tested by

no test coverage detected