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
FlashMLA
Commits
15a82b81
Commit
15a82b81
authored
Feb 24, 2025
by
Sijia Chen
Committed by
Sijia Chen
Feb 24, 2025
Browse files
replace c10 optional with std optional
parent
bcb90f2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
csrc/flash_api.cpp
csrc/flash_api.cpp
+1
-1
No files found.
csrc/flash_api.cpp
View file @
15a82b81
...
...
@@ -61,7 +61,7 @@ std::vector<at::Tensor>
mha_fwd_kvcache_mla
(
at
::
Tensor
&
q
,
// batch_size x seqlen_q x num_heads x head_size
const
at
::
Tensor
&
kcache
,
// num_blocks x page_block_size x num_heads_k x head_size
c10
::
optional
<
const
at
::
Tensor
>
&
vcache_
,
// num_blocks x page_block_size x num_heads_k x head_size_v
std
::
optional
<
const
at
::
Tensor
>
&
vcache_
,
// num_blocks x page_block_size x num_heads_k x head_size_v
const
int
head_size_v
,
const
at
::
Tensor
&
seqlens_k
,
// batch_size
const
at
::
Tensor
&
block_table
,
// batch_size x max_num_blocks_per_seq
...
...
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