Skip to content

Commit 4fdd6e5

Browse files
committed
cont : fix comment [no ci]
1 parent f1d179e commit 4fdd6e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/llama-kv-cache.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ struct llama_ubatch;
1717
struct llama_kv_cache : public llama_memory_i {
1818
using llama_memory_i::llama_memory_i;
1919

20-
virtual void restore() = 0; // call if batch processing fails to restore the cache state
21-
virtual void commit() = 0; // call after successful batch processing
20+
virtual void restore() = 0; // call if batch processing fails - restores the cache state
21+
virtual void commit() = 0; // call after successful batch processing - clears any pending state
2222

2323
virtual int32_t get_n_tokens() const = 0;
2424
virtual uint32_t get_used_cells() const = 0; // TODO: remove, this is too-specific to the unified cache

0 commit comments

Comments
 (0)