mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-07-10 05:07:13 +08:00
[rocm] Fix wrong attention log (#18764)
Signed-off-by: Felix Marty <felmarty@amd.com>
This commit is contained in:
parent
d73a9457a5
commit
794ae1f551
@ -194,8 +194,9 @@ class RocmPlatform(Platform):
|
|||||||
f" The selected backend, {selected_backend.name},"
|
f" The selected backend, {selected_backend.name},"
|
||||||
f"is not MLA type while requested for MLA backend.")
|
f"is not MLA type while requested for MLA backend.")
|
||||||
|
|
||||||
selected_backend = (_Backend.ROCM_FLASH if selected_backend
|
if selected_backend is None or selected_backend == _Backend.FLASH_ATTN:
|
||||||
== _Backend.FLASH_ATTN else selected_backend)
|
selected_backend = _Backend.ROCM_FLASH
|
||||||
|
|
||||||
if envs.VLLM_USE_V1:
|
if envs.VLLM_USE_V1:
|
||||||
logger.info("Using Triton Attention backend on V1 engine.")
|
logger.info("Using Triton Attention backend on V1 engine.")
|
||||||
return ("vllm.v1.attention.backends."
|
return ("vllm.v1.attention.backends."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user