Add support for Seed-OSS (#1218)

* it compiles

* Fix constants.py
This commit is contained in:
saood06
2026-02-02 23:39:45 -06:00
committed by GitHub
parent b86d8024a5
commit 8ba7e2b40c
10 changed files with 291 additions and 72 deletions

View File

@@ -1107,7 +1107,14 @@ void llm_load_hparams(
}
} break;
case LLM_ARCH_SEED_OSS:
{
ml.get_key(LLM_KV_ATTENTION_LAYERNORM_RMS_EPS, hparams.f_norm_rms_eps);
switch (hparams.n_layer) {
case 64: model.type = e_model::MODEL_36B; break;
default: model.type = e_model::MODEL_UNKNOWN;
}
} break;
default: (void)0;
}