This commit is contained in:
Kawrakow
2026-08-07 10:39:11 +00:00
parent 907ee8d17f
commit fc309e83a0
-1
View File
@@ -660,7 +660,6 @@ static void why_not_reuse_previous(const llama_batch & u_batch, const llama_cont
bool llama_context::can_reuse_graph(const llama_batch & u_batch, uint64_t seq_fingerprint, uint64_t model_state_hash) {
if (!cparams.graph_reuse) return false;
//if (model.arch == LLM_ARCH_DEEPSEEK4) return false;
auto the_prev = cparams.mtp_op_type == MTP_OP_NONE ? prev.get() : prev_mtp.get();
if (!the_prev || !the_prev->graph) return false;
if (u_batch.embd) return false;