model: apply .scale tensors automatically + fix correctness (#32669)

* model: apply .scale tensors automatically

* rm build_moe_ffn "_s" overload

* use llama_prec_policy

* fix ci

* build_lora_mm_id: rm w_s
This commit is contained in:
Xuan-Son Nguyen authored and GitHub committed 2026-11-21 16:30:01 +01:00
1 parent e50c254a22
commit 19bc41dbb4
39 files changed
+164 -290

No files matched your search

+1 -6
View File
@@ -116,10 +116,5 @@ ggml_tensor * llm_build_lfm_base::build_lfm_moe_ffn(ggml_tensor * cur,
LLM_FFN_SILU, true,
hparams.expert_weights_scale,
static_cast<llama_expert_gating_func_type>(hparams.expert_gating_func),
il,
nullptr,
nullptr,
model.layers[il].ffn_up_exps_s,
model.layers[il].ffn_gate_exps_s,
model.layers[il].ffn_down_exps_s);
il);
}