Skip to content

Commit 6bddaf6

Browse files
authored
chore: Improve documentation of Kv_block_array (NVIDIA#5765)
Signed-off-by: Julien Debache <[email protected]>
1 parent b1976c2 commit 6bddaf6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cpp/kernels/fmha_v2/src/fmha/paged_kv_cache.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ struct Kv_block_array
2323
{
2424
using PtrType = int32_t;
2525

26-
// Current number of sequences
26+
// Maximum number of sequences supported by the kv-cache.
2727
int32_t mMaxSeqs;
2828
// Max number of blocks per sequence
2929
int32_t mMaxBlocksPerSeq;

cpp/tensorrt_llm/kernels/kvCacheUtils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ struct KVBlockArrayForContextFMHA
4040
{
4141
using DataType = KVCacheIndex const;
4242

43-
// Current number of sequences
43+
// The maximum number of sequences supported by the kv-cache.
4444
int32_t mMaxSeqs;
4545
// Max number of blocks per sequence
4646
int32_t mMaxBlocksPerSeq;

0 commit comments

Comments
 (0)