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
a3ae45a3
Unverified
Commit
a3ae45a3
authored
Sep 28, 2025
by
Juechen Liu
Committed by
GitHub
Sep 29, 2025
Browse files
[Misc] fix tests failure by using current_platform (#25825)
Signed-off-by:
Juechen Liu
<
jueliu@meta.com
>
parent
0307428d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/attention/ops/triton_reshape_and_cache_flash.py
vllm/attention/ops/triton_reshape_and_cache_flash.py
+1
-1
No files found.
vllm/attention/ops/triton_reshape_and_cache_flash.py
View file @
a3ae45a3
...
...
@@ -137,7 +137,7 @@ def triton_reshape_and_cache_flash(
# heuristics instead of autotuning
TILE_SIZE
=
min
(
2048
,
triton
.
next_power_of_2
(
n
))
if
torch
.
version
.
hip
or
torch
.
version
.
xpu
:
if
current_platform
.
is_rocm
()
or
current_platform
.
is_
xpu
()
:
num_stages
=
4
num_warps
=
8
else
:
# cuda
...
...
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