iAdding support for dense Qwen-3.5 models (#1326)

This commit is contained in:
Kawrakow
2026-02-26 08:51:01 +01:00
committed by GitHub
parent 2616efa296
commit 0aa6f7e7cd
9 changed files with 263 additions and 1 deletions

View File

@@ -31,6 +31,7 @@ static const std::map<llm_arch, const char *> LLM_ARCH_NAMES = {
{ LLM_ARCH_QWEN3VL, "qwen3vl" },
{ LLM_ARCH_QWEN3VLMOE, "qwen3vlmoe" },
{ LLM_ARCH_QWEN35MOE, "qwen35moe" },
{ LLM_ARCH_QWEN35, "qwen35" },
{ LLM_ARCH_PHI2, "phi2" },
{ LLM_ARCH_PHI3, "phi3" },
{ LLM_ARCH_PLAMO, "plamo" },
@@ -260,6 +261,7 @@ bool llm_arch_is_hybrid(const llm_arch & arch) {
switch (arch) {
case LLM_ARCH_QWEN3NEXT:
case LLM_ARCH_QWEN35MOE:
case LLM_ARCH_QWEN35:
return true;
default:
return false;