Skip to content

Commit f56b488

Browse files
committed
linter
1 parent 6bd7c29 commit f56b488

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

examples/mediatek/executor_runner/mtk_llama_runner.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ using executorch::extension::llm::Tokenizer;
3232
using executorch::runtime::Error;
3333
using 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,

extension/android/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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()

0 commit comments

Comments
 (0)