From 296538adea19ff397100bf8e7d71f302d2d2bb35 Mon Sep 17 00:00:00 2001 From: Oliver Simons Date: Tue, 13 Oct 2026 12:39:10 +0200 Subject: [PATCH] spec : remove tokens assert from dsv4 graph_mtp (#30444) cont of #29622, where we forgot to remove token assert --- src/models/deepseek4.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/models/deepseek4.cpp b/src/models/deepseek4.cpp index 5df4c04c5..50864b2cb 100644 --- a/src/models/deepseek4.cpp +++ b/src/models/deepseek4.cpp @@ -1366,7 +1366,6 @@ llama_model_deepseek4::graph_mtp::graph_mtp(const llama_model & model, const llm cparams.nextn_layer_offset < (int) hparams.n_layer_nextn && "nextn_layer_offset out of range [0, n_layer_nextn)"); ASSERT_EMBD_OR_TOKEN(ubatch); - GGML_ASSERT(ubatch.token && "DEEPSEEK4 MTP requires token input"); const int64_t hc = hparams.dsv4_hc_mult; GGML_ASSERT(hparams.n_embd_out() == (uint32_t) (n_embd*hc) && "DEEPSEEK4 MTP hidden width mismatch");