Fix Qwen3.5/3.6 MTP and -muge (#1816)

This commit is contained in:
Kawrakow 2026-05-17 17:14:47 +03:00 committed by GitHub
parent 1f8c603d9c
commit 0ab9bdf793
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6013,6 +6013,9 @@ void llama_free_model(struct llama_model * model) {
}
static void llama_repack_up_gate_exps(llama_context & lctx) {
if (lctx.cparams.mtp_op_type != MTP_OP_NONE) {
return;
}
auto & model = lctx.model;
bool needs_repack = false;
for (auto & l : model.layers) {