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;
3232using executorch::runtime::Error;
3333using executorch::runtime::Result;
3434
35- class MTKLlamaRunner
36- : public executorch::extension::llm::IRunner {
35+ class MTKLlamaRunner : public executorch ::extension::llm::IRunner {
3736 public:
3837 explicit MTKLlamaRunner (
3938 const std::string& model_path,
Original file line number Diff line number Diff line change @@ -176,8 +176,8 @@ if(EXECUTORCH_BUILD_LLAMA_JNI)
176176 ${EXECUTORCH_ROOT} /examples/mediatek/executor_runner/
177177 ${EXECUTORCH_ROOT} /examples/mediatek/executor_runner/llama_runner
178178 )
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} )
181181 list (APPEND link_libraries neuron_backend libneuron_buffer_allocator)
182182 target_compile_definitions (executorch_jni PRIVATE EXECUTORCH_BUILD_MEDIATEK=1)
183183 endif ()
You can’t perform that action at this time.
0 commit comments