Skip to content

Commit b7d15bd

Browse files
larryliu0820facebook-github-bot
authored andcommitted
Remove old tokenizer/ directory in ExecuTorch
Summary: X-link: pytorch/executorch#9728 See what happens Differential Revision: D72007597
1 parent 567473d commit b7d15bd

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

pytorch_tokenizers/tools/llama2c/convert.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
import argparse
1313

14-
from pytorch_tokenizers import Llama2cTokenizer
14+
from pytorch_tokenizers.llama2c import Llama2cTokenizer
1515

1616

1717
if __name__ == "__main__":

pytorch_tokenizers/tools/llama2c/targets.bzl

+3
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ def define_common_targets():
2424
external_deps = [
2525
"sentencepiece-py",
2626
],
27+
deps = [
28+
"//pytorch/tokenizers/pytorch_tokenizers:tokenizers",
29+
],
2730
)
2831

2932
runtime.python_binary(

0 commit comments

Comments
 (0)