Skip to content

Commit

Permalink
Fix BUCK
Browse files Browse the repository at this point in the history
  • Loading branch information
kirklandsign committed Oct 18, 2024
1 parent 516a417 commit bc1f420
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/models/llama/runner/targets.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def define_common_targets():
# qnn_executorch_backend can be added below //executorch/backends/qualcomm:qnn_executorch_backend
exported_deps = [
"//executorch/backends/xnnpack:xnnpack_backend",
"//executorch/extension/llm/runner:irunner",
"//executorch/extension/llm/runner:stats",
"//executorch/extension/llm/runner:text_decoder_runner" + aten_suffix,
"//executorch/extension/llm/runner:text_prefiller" + aten_suffix,
Expand Down
10 changes: 10 additions & 0 deletions extension/llm/runner/targets.bzl
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime")

def define_common_targets():
runtime.cxx_library(
name = "irunner",
exported_headers = [
"irunner.h",
],
visibility = [
"@EXECUTORCH_CLIENTS",
],
)

runtime.cxx_library(
name = "stats",
exported_headers = [
Expand Down

0 comments on commit bc1f420

Please sign in to comment.