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
04a55612
Unverified
Commit
04a55612
authored
Jun 12, 2025
by
Jee Jee Li
Committed by
GitHub
Jun 12, 2025
Browse files
[Misc] Fix misleading ROCm warning (#19486)
Signed-off-by:
Jee Jee Li
<
pandaleefree@gmail.com
>
parent
89b0f84e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
vllm/attention/ops/triton_flash_attention.py
vllm/attention/ops/triton_flash_attention.py
+6
-1
No files found.
vllm/attention/ops/triton_flash_attention.py
View file @
04a55612
...
...
@@ -25,9 +25,14 @@ Not currently supported:
import
torch
from
vllm.platforms
import
current_platform
from
vllm.platforms.rocm
import
on_gfx1x
from
vllm.triton_utils
import
tl
,
triton
# Avoid misleading ROCm warning.
if
current_platform
.
is_rocm
():
from
vllm.platforms.rocm
import
on_gfx1x
else
:
on_gfx1x
=
lambda
*
args
,
**
kwargs
:
False
torch_dtype
:
tl
.
constexpr
=
torch
.
float16
...
...
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