mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-04-20 14:29:22 +00:00
[build]: in case of missing, adding two more flags: -mamx-bf16 -mamx-int8s
This commit is contained in:
@@ -347,7 +347,7 @@ if(HOST_IS_X86)
|
||||
add_compile_definitions(USE_AMX_AVX_KERNEL=1)
|
||||
if(KTRANSFORMERS_CPU_USE_AMX)
|
||||
add_compile_definitions(HAVE_AMX=1)
|
||||
list(APPEND ARCH_FLAGS -mamx-tile)
|
||||
list(APPEND ARCH_FLAGS -mamx-tile -mamx-bf16 -mamx-int8)
|
||||
message(STATUS "AMX enabled")
|
||||
endif()
|
||||
# add_executable(amx-test ${CMAKE_CURRENT_SOURCE_DIR}/operators/amx/amx-test.cpp)
|
||||
|
||||
Reference in New Issue
Block a user