Skip to content

Commit 5d2e43c

Browse files
salilsdesaifacebook-github-bot
authored andcommitted
Add quantized ops to Executor Runner lean mode deps
Summary: Before this diff, running a model which requires quantized ops on executor runner (ex. NLU) produces an error due to missing operator(s) Reviewed By: kimishpatel Differential Revision: D48191701 fbshipit-source-id: b2beedf45af80ccfee98c709bb5f6330c44f2de2
1 parent dfc2117 commit 5d2e43c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sdk/runners/targets.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ def define_common_targets():
2929
"//executorch/util:util" + aten_suffix,
3030
] + (MODELS_ATEN_OPS_ATEN_MODE_GENERATED_LIB if aten_mode else [
3131
"//executorch/configurations:executor_cpu_optimized",
32+
"//executorch/kernels/quantized:generated_lib",
3233
] + MODELS_ATEN_OPS_LEAN_MODE_GENERATED_LIB),
3334
preprocessor_flags = ["-DUSE_ATEN_LIB"] if aten_mode else [],
3435
external_deps = [

0 commit comments

Comments
 (0)