Skip to content

Commit c084fcf

Browse files
lucylqfacebook-github-bot
authored andcommitted
add custom ops to buck oss (#2712)
Summary: Add to oss llama runner for buck Reviewed By: cccclai, kirklandsign Differential Revision: D55406619
1 parent f0c6666 commit c084fcf

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
@@ -4,7 +4,7 @@ def _get_operator_lib(aten = False):
44
if aten:
55
return ["//executorch/kernels/aten:generated_lib_aten"]
66
elif runtime.is_oss:
7-
return ["//executorch/kernels/portable:generated_lib"]
7+
return ["//executorch/kernels/portable:generated_lib", "//executorch/examples/models/llama2/custom_ops:custom_ops"]
88
else:
99
return ["//executorch/configurations:optimized_native_cpu_ops", "//executorch/examples/models/llama2/custom_ops:custom_ops", "//executorch/examples/models/llama2/ops:generated_lib"]
1010

0 commit comments

Comments
 (0)