remove type mismatch warning

This commit is contained in:
Yee Man Chan 2025-12-02 14:09:02 +08:00
parent 139548d070
commit 83d328d0d3
1 changed files with 1 additions and 1 deletions

View File

@ -1817,7 +1817,7 @@ ggml_tensor * llm_graph_context::build_rs(
// copy extra states which won't be changed further (between n_seqs and n_rs)
// Skip if there are no extra states to copy (n_rs == n_seqs)
if (arch != LLM_ARCH_KIMI_LINEAR || n_rs > n_seqs) { // arch check for backward compat
if (arch != LLM_ARCH_KIMI_LINEAR || n_rs > (u_int32_t) n_seqs) { // arch check for backward compat
ggml_tensor * states_extra = ggml_get_rows(ctx0, states, state_copy_extra);
ggml_build_forward_expand(gf,
ggml_cpy(ctx0,