From 4d2a0d672425964b0c87526528d7c42bf8f428b8 Mon Sep 17 00:00:00 2001 From: chenht2022 Date: Wed, 10 Jul 2024 02:49:07 +0000 Subject: [PATCH] Fix bug --- ktransformers/ktransformers_ext/CMakeLists.txt | 2 +- ktransformers/ktransformers_ext/ext_bindings.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ktransformers/ktransformers_ext/CMakeLists.txt b/ktransformers/ktransformers_ext/CMakeLists.txt index 63e3069..34bc021 100644 --- a/ktransformers/ktransformers_ext/CMakeLists.txt +++ b/ktransformers/ktransformers_ext/CMakeLists.txt @@ -156,7 +156,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../third_party) aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} SOURCE_DIR1) aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/cpu_backend SOURCE_DIR2) -aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/operator/llamafile SOURCE_DIR3) +aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/operators/llamafile SOURCE_DIR3) aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/../../third_party/llamafile SOURCE_DIR4) set(ALL_SOURCES ${SOURCE_DIR1} ${SOURCE_DIR2} ${SOURCE_DIR3} ${SOURCE_DIR4}) message(STATUS "ALL_SOURCES: ${ALL_SOURCES}") diff --git a/ktransformers/ktransformers_ext/ext_bindings.cpp b/ktransformers/ktransformers_ext/ext_bindings.cpp index d41d4e7..3787684 100644 --- a/ktransformers/ktransformers_ext/ext_bindings.cpp +++ b/ktransformers/ktransformers_ext/ext_bindings.cpp @@ -8,9 +8,9 @@ #include "cpu_backend/cpuinfer.h" #include "llamafile/flags.h" -#include "operator/llamafile/linear.h" -#include "operator/llamafile/mlp.h" -#include "operator/llamafile/moe.h" +#include "operators/llamafile/linear.h" +#include "operators/llamafile/mlp.h" +#include "operators/llamafile/moe.h" namespace py = pybind11; using namespace pybind11::literals;