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
88411543
Commit
88411543
authored
Jan 23, 2026
by
zhuwenwen
Browse files
add fp8 support on bw
parent
625b0b5e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/attention/utils/fa_utils.py
vllm/attention/utils/fa_utils.py
+1
-1
No files found.
vllm/attention/utils/fa_utils.py
View file @
88411543
...
@@ -69,7 +69,7 @@ def get_flash_attn_version(requires_alibi: bool = False) -> Optional[int]:
...
@@ -69,7 +69,7 @@ def get_flash_attn_version(requires_alibi: bool = False) -> Optional[int]:
def
flash_attn_supports_fp8
()
->
bool
:
def
flash_attn_supports_fp8
()
->
bool
:
if
torch
.
cuda
.
get_device_properties
(
"cuda"
).
gcnArchName
.
split
(
':'
)[
0
]
==
"gfx938"
:
if
current_platform
.
is_rocm
()
:
return
True
return
True
return
get_flash_attn_version
()
==
3
and
\
return
get_flash_attn_version
()
==
3
and
\
current_platform
.
get_device_capability
().
major
==
9
current_platform
.
get_device_capability
().
major
==
9
...
...
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