# Any targets that should be shared between fbcode and xplat must be defined in # targets.bzl. This file can contain fbcode-only targets. load("@fbsource//xplat/executorch/build:runtime_wrapper.bzl", "runtime") load(":targets.bzl", "define_common_targets") oncall("executorch") define_common_targets() runtime.python_library( name = "eager_runner_library", srcs = [ "eager.py", "generation.py" ], _is_external_target = True, base_module = "executorch.examples.models.llama.runner", visibility = [ "//bento/...", "//bento_kernels/...", "//executorch/examples/...", "@EXECUTORCH_CLIENTS", ], deps = [ "//executorch/examples/models/llama:export_library", ], ) runtime.python_binary( name = "eager", main_function = "executorch.examples.models.llama.runner.eager.main", deps = [ ":eager_runner_library", "//caffe2:torch", ], )