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
611e6922
"vscode:/vscode.git/clone" did not exist on "14b2cfc528cfd123aff42c1383e6e6ae1ad7a9eb"
Commit
611e6922
authored
Feb 11, 2026
by
zhanghj2
Browse files
添加测试用例
parent
892f7274
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/test_flash_mla_kvfp8.py
tests/test_flash_mla_kvfp8.py
+2
-2
No files found.
tests/test_flash_mla_kvfp8.py
View file @
611e6922
...
@@ -210,13 +210,13 @@ def main(torch_dtype, is_prof=False):
...
@@ -210,13 +210,13 @@ def main(torch_dtype, is_prof=False):
# '''
# '''
for
b
in
[
3
,
6
,
9
,
12
,
15
,
18
,
21
,
24
]:
for
b
in
[
3
,
6
,
9
,
12
,
15
,
18
,
21
,
24
]:
for
s
in
[
111
,
112
,
123
,
1234
,
432
,
4325
,
4000
,
8192
,
11111
]:
for
s
in
[
111
,
112
,
123
,
1234
,
432
,
4325
,
4000
,
8192
,
11111
]:
for
h_q
in
[
16
]:
for
h_q
in
[
16
,
128
]:
for
s_q
in
[
1
,
2
,
3
]:
# MTP = 1, 2
for
s_q
in
[
1
,
2
,
3
]:
# MTP = 1, 2
for
varlen
in
[
False
,
True
]:
for
varlen
in
[
False
,
True
]:
test_flash_mla_fp8_e5m2
(
b
,
s_q
,
s
,
h_q
,
h_kv
,
d
,
dv
,
causal
,
varlen
,
True
)
test_flash_mla_fp8_e5m2
(
b
,
s_q
,
s
,
h_q
,
h_kv
,
d
,
dv
,
causal
,
varlen
,
True
)
for
b
in
[
3
,
6
,
9
,
12
,
15
,
18
,
21
,
24
,
32
,
64
,
128
,
256
]:
for
b
in
[
3
,
6
,
9
,
12
,
15
,
18
,
21
,
24
,
32
,
64
,
128
,
256
]:
for
s
in
[
4000
]:
for
s
in
[
4000
]:
for
h_q
in
[
16
]:
for
h_q
in
[
16
,
128
]:
for
s_q
in
[
1
]:
# MTP = 1, 2
for
s_q
in
[
1
]:
# MTP = 1, 2
for
varlen
in
[
False
]:
for
varlen
in
[
False
]:
test_flash_mla_fp8_e5m2
(
b
,
s_q
,
s
,
h_q
,
h_kv
,
d
,
dv
,
causal
,
varlen
)
test_flash_mla_fp8_e5m2
(
b
,
s_q
,
s
,
h_q
,
h_kv
,
d
,
dv
,
causal
,
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