Skip to content

Commit 4fea983

Browse files
kimishpatelfacebook-github-bot
authored andcommitted
FIx bug in the optimized cpu ops configuration (#2349)
Summary: Pull Request resolved: #2349 Previous diff erroneously used portable for optimized dep ghstack-source-id: 218361719 exported-using-ghexport Reviewed By: JacobSzwejbka Differential Revision: D54766069 fbshipit-source-id: 048c284c5a2047c80a4763c08ec5872576a78969
1 parent 15790c8 commit 4fea983

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/models/llama2/runner/targets.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def _get_operator_lib(aten = False):
66
elif runtime.is_oss:
77
return ["//executorch/kernels/portable:generated_lib"]
88
else:
9-
return ["//executorch/kernels/portable:generated_lib", "//executorch/examples/models/llama2/custom_ops:custom_ops", "//executorch/examples/models/llama2/ops:generated_lib"]
9+
return ["//executorch/configurations:optimized_native_cpu_ops", "//executorch/examples/models/llama2/custom_ops:custom_ops", "//executorch/examples/models/llama2/ops:generated_lib"]
1010

1111
def define_common_targets():
1212
for aten in (True, False):

0 commit comments

Comments
 (0)