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
8f8d56c3
Commit
8f8d56c3
authored
Feb 08, 2025
by
zhuwenwen
Browse files
set TRITON_HIP_USE_NEW_STREAM_PIPELINE
parent
54944679
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vllm/attention/ops/triton_decode_attention.py
vllm/attention/ops/triton_decode_attention.py
+2
-0
No files found.
vllm/attention/ops/triton_decode_attention.py
View file @
8f8d56c3
...
@@ -28,6 +28,7 @@ Memory-efficient attention for decoding.
...
@@ -28,6 +28,7 @@ Memory-efficient attention for decoding.
It supports page size >= 1.
It supports page size >= 1.
"""
"""
import
os
import
logging
import
logging
import
triton
import
triton
...
@@ -36,6 +37,7 @@ import triton.language as tl
...
@@ -36,6 +37,7 @@ import triton.language as tl
from
vllm.platforms
import
current_platform
from
vllm.platforms
import
current_platform
is_hip_
=
current_platform
.
is_rocm
()
is_hip_
=
current_platform
.
is_rocm
()
os
.
environ
[
"TRITON_HIP_USE_NEW_STREAM_PIPELINE"
]
=
f
"0"
logger
=
logging
.
getLogger
(
__name__
)
logger
=
logging
.
getLogger
(
__name__
)
...
...
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