mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-01-26 22:34:37 +08:00
[BugFix] skip combo kernel on cpu (#29129)
Signed-off-by: Boyuan Feng <boyuan@meta.com>
This commit is contained in:
parent
56e96b37e4
commit
8c25f9cfb6
@ -664,6 +664,8 @@ class CompilationConfig:
|
||||
is_torch_equal_or_newer("2.9.0.dev")
|
||||
and "combo_kernels" not in self.inductor_compile_config
|
||||
and "benchmark_combo_kernel" not in self.inductor_compile_config
|
||||
# (fixme @boyuan) combo kernel does not support cpu yet.
|
||||
and not current_platform.is_cpu()
|
||||
):
|
||||
# use horizontal fusion, which is useful for fusing qk-norm and
|
||||
# qk-rope when query and key have different shapes.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user