File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
shim/xplat/executorch/build Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,9 @@ def define_common_targets():
20
20
"//bento_kernels/..." ,
21
21
],
22
22
_is_external_target = True ,
23
- # TODO: Define an external_deps entry for sentencepiece instead of pointing to an fbsource path.
24
- deps = [] if runtime .is_oss else ["fbsource//third-party/pypi/sentencepiece:sentencepiece" ],
23
+ external_deps = [
24
+ "sentencepiece-py" ,
25
+ ],
25
26
)
26
27
27
28
runtime .python_binary (
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ _EXTERNAL_DEPS = {
42
42
"prettytable" : "//third-party:prettytable" ,
43
43
"pybind11" : "//third-party:pybind11" ,
44
44
"re2" : [], # TODO(larryliu0820): Add support
45
+ "sentencepiece-py" : [],
45
46
# Core C++ PyTorch functionality like Tensor and ScalarType.
46
47
"torch-core-cpp" : "//third-party:libtorch" ,
47
48
"torchgen" : "//third-party:torchgen" ,
You can’t perform that action at this time.
0 commit comments