Skip to content

Commit e053aad

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

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
@@ -13251,7 +13251,7 @@ struct llm_build_hybrid_mamba : public llm_graph_context {
1325113251
}
1325213252

1325313253
// Extract the recurrent cache from the hybrid parent
13254-
const auto * kv_recurrent = static_cast<const llama_kv_cache_hybrid *>(memory)->get_child_cache<llama_kv_cache_recurrent>();
13254+
const auto * kv_recurrent = static_cast<const llama_kv_cache_hybrid_recurrent *>(memory)->get_kv_recurrent();
1325513255
GGML_ASSERT(kv_recurrent);
1325613256

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

0 commit comments

Comments
 (0)