Skip to content

Commit f84bd6a

Browse files
committed
[Executorch][optimized ops] FIx bug in the optimized cpu ops configuration
Previous diff erroneously used portable for optimized dep Differential Revision: [D54766069](https://our.internmc.facebook.com/intern/diff/D54766069/) ghstack-source-id: 218209333 Pull Request resolved: #2349
1 parent ceb1f1d commit f84bd6a

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)