MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / get_arch_name

Method get_arch_name

llama.cpp:2020–2027  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2018 }
2019
2020 std::string get_arch_name() const {
2021 const auto kv = LLM_KV(LLM_ARCH_UNKNOWN);
2022
2023 std::string arch_name;
2024 GGUF_GET_KEY(ctx_gguf, arch_name, gguf_get_val_str, GGUF_TYPE_STRING, false, kv(LLM_KV_GENERAL_ARCHITECTURE));
2025
2026 return arch_name;
2027 }
2028
2029 enum llm_arch get_arch() const {
2030 const std::string arch_name = get_arch_name();

Callers 1

llm_load_archFunction · 0.45

Calls 1

LLM_KVClass · 0.70

Tested by

no test coverage detected