model : support MTP in GLM-4.7-Flash (#24868)

This commit is contained in:
jacekpoplawski
2026-08-03 20:27:52 +02:00
committed by GitHub
parent ee0445c99c
commit 57c092139a
4 changed files with 379 additions and 25 deletions
+4
View File
@@ -1084,6 +1084,10 @@ struct llama_model_deepseek2 : public llama_model_base {
graph(const llama_model & model, const llm_graph_params & params);
};
struct graph_mtp : public llm_graph_context {
graph_mtp(const llama_model & model, const llm_graph_params & params);
};
std::unique_ptr<llm_graph_context> build_arch_graph(const llm_graph_params & params) const override;
};