Skip to content

Commit 17e51e7

Browse files
committed
fix: Fix recurrent cache get after rebase
Branch: GraniteFour Signed-off-by: Gabe Goodhart <[email protected]>
1 parent 9a3ff8c commit 17e51e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/llama-model.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12978,7 +12978,7 @@ struct llm_build_hybrid_mamba : public llm_graph_context {
1297812978
}
1297912979

1298012980
// Extract the recurrent cache from the hybrid parent
12981-
const auto * kv_recurrent = static_cast<const llama_kv_cache_hybrid *>(memory)->get_child_cache<llama_kv_cache_recurrent>();
12981+
const auto * kv_recurrent = static_cast<const llama_kv_cache_hybrid_recurrent *>(memory)->get_kv_recurrent();
1298212982
GGML_ASSERT(kv_recurrent);
1298312983

1298412984
for (int il = 0; il < n_layer; ++il) {

0 commit comments

Comments
 (0)