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
9869453c
Unverified
Commit
9869453c
authored
Apr 27, 2025
by
Happy
Committed by
GitHub
Apr 26, 2025
Browse files
Update test_flash_attn.py (#17102)
Signed-off-by:
ShuaibinLi
<
lishuaibin@live.cn
>
parent
3642c59a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/kernels/attention/test_flash_attn.py
tests/kernels/attention/test_flash_attn.py
+1
-1
No files found.
tests/kernels/attention/test_flash_attn.py
View file @
9869453c
...
...
@@ -145,7 +145,7 @@ def test_flash_attn_with_paged_kv(
v_descale
=
None
if
q_dtype
is
not
None
:
# QKV are drawn from N(0, 1): no need for a fp8 scaling factor
maybe_quantized_query
=
q
uery
.
to
(
q_dtype
)
maybe_quantized_query
=
q
.
to
(
q_dtype
)
maybe_quantized_key_cache
=
key_cache
.
to
(
q_dtype
)
maybe_quantized_value_cache
=
value_cache
.
to
(
q_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