mirror of
https://github.com/ikawrakow/ik_llama.cpp.git
synced 2026-08-12 22:29:39 +04:00
Minor
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user