[CPU] Fix build issue (#6419)

This commit is contained in:
blzheng
2025-05-22 02:17:10 +08:00
committed by GitHub
parent d4c038daed
commit cfe48c5902
14 changed files with 157 additions and 143 deletions

View File

@@ -50,7 +50,9 @@ def _get_version():
cpu_fp8_ftz = os.getenv("SGLANG_CPU_FP8_CVT_FTZ", "1") == "1"
operator_namespace = "sgl_kernel"
include_dirs = []
include_dirs = [
"../../include",
]
sources = [
"csrc/cpu/activation.cpp",
@@ -99,7 +101,7 @@ ext_modules = [
extra_compile_args=extra_compile_args,
libraries=libraries,
extra_link_args=extra_link_args,
py_limited_api=True,
py_limited_api=False,
),
]