We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b4a8f1 commit 114b4ddCopy full SHA for 114b4dd
1 file changed
src/llama-graph.h
@@ -628,6 +628,10 @@ struct llm_graph_params {
628
return
629
cparams.embeddings == other.cparams.embeddings &&
630
cparams.causal_attn == other.cparams.causal_attn &&
631
+ // mtp_step selects which MTP block the graph references; reusing a
632
+ // graph built for step k with step k' != k would silently feed the
633
+ // wrong block's weights.
634
+ cparams.mtp_step == other.cparams.mtp_step &&
635
arch == other.arch &&
636
gtype == other.gtype &&
637
cvec == other.cvec &&
0 commit comments