File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
examples/mediatek/executor_runner Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,7 @@ using executorch::extension::llm::Tokenizer;
32
32
using executorch::runtime::Error;
33
33
using executorch::runtime::Result;
34
34
35
- class MTKLlamaRunner
36
- : public executorch::extension::llm::IRunner {
35
+ class MTKLlamaRunner : public executorch ::extension::llm::IRunner {
37
36
public:
38
37
explicit MTKLlamaRunner (
39
38
const std::string& model_path,
Original file line number Diff line number Diff line change @@ -176,8 +176,8 @@ if(EXECUTORCH_BUILD_LLAMA_JNI)
176
176
${EXECUTORCH_ROOT} /examples/mediatek/executor_runner/
177
177
${EXECUTORCH_ROOT} /examples/mediatek/executor_runner/llama_runner
178
178
)
179
- ADD_LIBRARY (libneuron_buffer_allocator SHARED IMPORTED )
180
- SET_PROPERTY (TARGET libneuron_buffer_allocator PROPERTY IMPORTED_LOCATION ${NEURON_BUFFER_ALLOCATOR_LIB} )
179
+ add_library (libneuron_buffer_allocator SHARED IMPORTED )
180
+ set_property (TARGET libneuron_buffer_allocator PROPERTY IMPORTED_LOCATION ${NEURON_BUFFER_ALLOCATOR_LIB} )
181
181
list (APPEND link_libraries neuron_backend libneuron_buffer_allocator )
182
182
target_compile_definitions (executorch_jni PRIVATE EXECUTORCH_BUILD_MEDIATEK=1 )
183
183
endif ()
You can’t perform that action at this time.
0 commit comments