Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
64fc2193
Unverified
Commit
64fc2193
authored
Mar 18, 2025
by
Serena
Committed by
GitHub
Mar 18, 2025
Browse files
[Misc][Docs] fix the comments of KV_T and CACHE_T in CALL_RESHAPE_AND_CACHE_XX macros (#14347)
parent
dd732028
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
csrc/cache_kernels.cu
csrc/cache_kernels.cu
+6
-6
No files found.
csrc/cache_kernels.cu
View file @
64fc2193
...
...
@@ -350,8 +350,8 @@ __global__ void concat_and_cache_mla_kernel(
}
// namespace vllm
// KV_T is the
stored
data type of k
v-cache
.
// CACHE_T is the data type of k
ey and value tensors
.
// KV_T is the data type of k
ey and value tensors
.
// CACHE_T is the
stored
data type of k
v-cache
.
// KV_DTYPE is the real data type of kv-cache.
#define CALL_RESHAPE_AND_CACHE(KV_T, CACHE_T, KV_DTYPE) \
vllm::reshape_and_cache_kernel<KV_T, CACHE_T, KV_DTYPE> \
...
...
@@ -393,8 +393,8 @@ void reshape_and_cache(
CALL_RESHAPE_AND_CACHE
)
}
// KV_T is the
stored
data type of k
v-cache
.
// CACHE_T is the data type of k
ey and value tensors
.
// KV_T is the data type of k
ey and value tensors
.
// CACHE_T is the
stored
data type of k
v-cache
.
// KV_DTYPE is the real data type of kv-cache.
#define CALL_RESHAPE_AND_CACHE_FLASH(KV_T, CACHE_T, KV_DTYPE) \
vllm::reshape_and_cache_flash_kernel<KV_T, CACHE_T, KV_DTYPE> \
...
...
@@ -446,8 +446,8 @@ void reshape_and_cache_flash(
CALL_RESHAPE_AND_CACHE_FLASH
);
}
// KV_T is the
stored
data type of k
v-cache
.
// CACHE_T is the data type of k
ey and value tensors
.
// KV_T is the data type of k
ey and value tensors
.
// CACHE_T is the
stored
data type of k
v-cache
.
// KV_DTYPE is the real data type of kv-cache.
#define CALL_CONCAT_AND_CACHE_MLA(KV_T, CACHE_T, KV_DTYPE) \
vllm::concat_and_cache_mla_kernel<KV_T, CACHE_T, KV_DTYPE> \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment