Skip to content

Commit e1e640d

Browse files
yihong0618yangw-dev
authored andcommitted
[BugFix] logger is not callable (vllm-project#16312)
Signed-off-by: yihong0618 <zouzou0208@gmail.com> Signed-off-by: Yang Wang <elainewy@meta.com>
1 parent 0187130 commit e1e640d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vllm/attention/backends/hpu_attn.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ def __init__(
149149
self.fused_scaled_dot_product_attention = ModuleFusedSDPA(
150150
FusedSDPA)
151151
except ImportError:
152-
logger().warning("Could not import HPU FusedSDPA kernel. "
153-
"vLLM will use native implementation.")
152+
logger.warning("Could not import HPU FusedSDPA kernel. "
153+
"vLLM will use native implementation.")
154154

155155
suppored_head_sizes = HPUPagedAttention.get_supported_head_sizes()
156156
if head_size not in suppored_head_sizes:

0 commit comments

Comments
 (0)