We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0583f7 commit 79dc929Copy full SHA for 79dc929
llama.cpp
@@ -216,7 +216,7 @@ static std::map<llm_arch, std::string> LLM_ARCH_NAMES = {
216
{ LLM_ARCH_BLOOM, "bloom" },
217
{ LLM_ARCH_STABLELM, "stablelm" },
218
{ LLM_ARCH_QWEN, "qwen" },
219
- { LLM_ARCH_PHI, "phi" },
+ { LLM_ARCH_PHI, "phi" },
220
{ LLM_ARCH_PLAMO, "plamo" },
221
};
222
@@ -2119,6 +2119,12 @@ struct llama_model_loader {
2119
}
2120
2121
get_key(llm_kv(LLM_KV_GENERAL_ARCHITECTURE), arch_name, false);
2122
+
2123
+ // TODO: remove after Mar 2024
2124
+ if (arch_name == "phi2") {
2125
+ arch_name = "phi";
2126
+ }
2127
2128
llm_kv = LLM_KV(llm_arch_from_string(arch_name));
2129
2130
n_kv = gguf_get_n_kv(ctx_gguf);
0 commit comments