Skip to content

Commit 585444b

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

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
@@ -12977,7 +12977,7 @@ struct llm_build_hybrid_mamba : public llm_graph_context {
1297712977
}
1297812978

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

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

0 commit comments

Comments
 (0)