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
3357c074
Commit
3357c074
authored
Apr 21, 2025
by
zhuwenwen
Browse files
update test_flash_mla.py
parent
1de31a24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
tests/kernels/test_flashmla.py
tests/kernels/test_flashmla.py
+2
-1
No files found.
tests/kernels/test_flashmla.py
View file @
3357c074
...
@@ -33,7 +33,8 @@ FLASH_MLA_UNSUPPORTED_REASON = is_flashmla_supported()[1] \
...
@@ -33,7 +33,8 @@ FLASH_MLA_UNSUPPORTED_REASON = is_flashmla_supported()[1] \
@
pytest
.
mark
.
parametrize
(
"dv"
,
[
512
])
@
pytest
.
mark
.
parametrize
(
"dv"
,
[
512
])
@
pytest
.
mark
.
parametrize
(
"block_size"
,
[
64
])
@
pytest
.
mark
.
parametrize
(
"block_size"
,
[
64
])
@
pytest
.
mark
.
parametrize
(
"causal"
,
[
True
])
@
pytest
.
mark
.
parametrize
(
"causal"
,
[
True
])
@
pytest
.
mark
.
parametrize
(
"varlen"
,
[
False
,
True
])
# @pytest.mark.parametrize("varlen", [False, True])
@
pytest
.
mark
.
parametrize
(
"varlen"
,
[
True
])
@
torch
.
inference_mode
()
@
torch
.
inference_mode
()
def
test_flash_mla
(
b
,
s_q
,
mean_sk
,
h_q
,
h_kv
,
d
,
dv
,
block_size
,
causal
,
def
test_flash_mla
(
b
,
s_q
,
mean_sk
,
h_q
,
h_kv
,
d
,
dv
,
block_size
,
causal
,
varlen
):
varlen
):
...
...
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