Skip to content

Commit ae9cb82

Browse files
committed
Revert "fix cmake"
This reverts commit d9bcfb2d4ae31177aac85047c31edbf39b4b4e90.
1 parent 26a07e8 commit ae9cb82

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

cmake/cpu_extension.cmake

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,14 @@ set(VLLM_EXT_SRC
9696
"csrc/cpu/utils.cpp"
9797
"csrc/cpu/layernorm.cpp"
9898
"csrc/cpu/pos_encoding.cpp"
99-
"csrc/cpu/quant.cpp"
10099
"csrc/cpu/torch_bindings.cpp")
101100

101+
if (AVX512_FOUND AND NOT AVX512_DISABLED)
102+
set(VLLM_EXT_SRC
103+
"csrc/cpu/quant.cpp"
104+
${VLLM_EXT_SRC})
105+
endif()
106+
102107
#
103108
# Define extension targets
104109
#

0 commit comments

Comments
 (0)