Skip to content

Commit 17602b7

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

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

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

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

0 commit comments

Comments
 (0)