File tree 2 files changed +4
-1
lines changed 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,10 @@ buck2 query "//backends/apple/... + //backends/example/... + \
17
17
//kernels/optimized/... + //kernels/portable/... + //kernels/quantized/... + \
18
18
//kernels/test/... + //runtime/... + //schema/... + //test/... + //util/..."
19
19
20
+ UNBUILDABLE_OPTIMIZED_OPS_REGEX=" gelu|fft_r2c|log_softmax"
21
+ BUILDABLE_OPTIMIZED_OPS=$( buck2 query //kernels/optimized/cpu/... | grep -E -v $UNBUILDABLE_OPTIMIZED_OPS_REGEX )
20
22
# TODO: expand the covered scope of Buck targets.
21
23
# //runtime/kernel/... is failing because //third-party:torchgen_files's shell script can't find python on PATH.
22
24
# //runtime/test/... requires Python torch, which we don't have in our OSS buck setup.
23
- buck2 test //kernels/portable/... //runtime/backend/... //runtime/core/... \
25
+ buck2 test $BUILDABLE_OPTIMIZED_OPS //kernels/portable/... //runtime/backend/... //runtime/core/... \
24
26
//runtime/executor: //runtime/kernel/... //runtime/platform/...
Original file line number Diff line number Diff line change @@ -234,6 +234,7 @@ def define_libs(is_fbcode=False):
234
234
exported_deps = [
235
235
"//executorch/kernels/optimized:libutils" ,
236
236
"//executorch/runtime/core/exec_aten:lib" ,
237
+ "//executorch/runtime/kernel:thread_parallel_interface" ,
237
238
],
238
239
** get_apple_framework_deps_kwargs (is_fbcode ),
239
240
)
You can’t perform that action at this time.
0 commit comments