We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa2573e commit c96c48cCopy full SHA for c96c48c
src/llama-kv-cache-unified.cpp
@@ -573,7 +573,7 @@ llama_kv_cache_unified::slot_info_vec_t llama_kv_cache_unified::prepare(const st
573
apply_ubatch(sinfo_new, ubatch);
574
}
575
576
- GGML_ASSERT(!states.empty());
+ GGML_ASSERT(!states.empty() || !success);
577
578
// iterate backwards and restore the cells to their original state
579
for (auto it = states.rbegin(); it != states.rend(); ++it) {
0 commit comments