Skip to content

Remove old tokenizer/ directory in ExecuTorch #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 30, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
2 changes: 1 addition & 1 deletion pytorch_tokenizers/tools/llama2c/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

import argparse

from pytorch_tokenizers import Llama2cTokenizer
from pytorch_tokenizers.llama2c import Llama2cTokenizer


if __name__ == "__main__":
Expand Down
3 changes: 3 additions & 0 deletions pytorch_tokenizers/tools/llama2c/targets.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ def define_common_targets():
external_deps = [
"sentencepiece-py",
],
deps = [
"//pytorch/tokenizers/pytorch_tokenizers:tokenizers",
],
)

runtime.python_binary(
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@
version="0.1.0",
long_description=long_description,
long_description_content_type="text/markdown",
packages=find_packages(where="pytorch_tokenizers"),
package_dir={"": "pytorch_tokenizers"},
packages=find_packages(),
)
52 changes: 0 additions & 52 deletions tools/llama2c/convert.py

This file was deleted.

32 changes: 0 additions & 32 deletions tools/llama2c/targets.bzl

This file was deleted.