-
Notifications
You must be signed in to change notification settings - Fork 250
Add support for tiktoken and refactored runner structure #435
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Summary: Unified runner and move runner-et/CMakeLists.txt to runner/et.cmake and runner-aoti/CMakeLists.txt to runner/aoti.cmake. Added a root level CMakeLists.txt to build a tokenizer library and link to both targets separately. In CLI we need to specify the target to run: ``` cmake --build ./cmake-out --target et_run/aoti_run ``` Test Plan: Reviewers: Subscribers: Tasks: Tags:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
@@ -0,0 +1,6 @@ | |||
[submodule "tokenizer/third-party/abseil-cpp"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to update instructions to do git clone recursive, git submodule updates?
This is what PyTorch tells users:
git clone --recursive https://github.com/pytorch/pytorch
cd pytorch
# if you are updating an existing checkout
git submodule sync
git submodule update --init --recursive
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah where should I update the doc?
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
ed6d874
to
16dc690
Compare
Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
* Add support for tiktoken and refactored runner structure Summary: Unified runner and move runner-et/CMakeLists.txt to runner/et.cmake and runner-aoti/CMakeLists.txt to runner/aoti.cmake. Added a root level CMakeLists.txt to build a tokenizer library and link to both targets separately. In CLI we need to specify the target to run: ``` cmake --build ./cmake-out --target et_run/aoti_run ``` Test Plan: Reviewers: Subscribers: Tasks: Tags: * Fix CI Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Fix more CI Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Further fix CI Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Lint` Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Update build_android.sh Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Rebase Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Fix cmake commands in CI job Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
* Add support for tiktoken and refactored runner structure Summary: Unified runner and move runner-et/CMakeLists.txt to runner/et.cmake and runner-aoti/CMakeLists.txt to runner/aoti.cmake. Added a root level CMakeLists.txt to build a tokenizer library and link to both targets separately. In CLI we need to specify the target to run: ``` cmake --build ./cmake-out --target et_run/aoti_run ``` Test Plan: Reviewers: Subscribers: Tasks: Tags: * Fix CI Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Fix more CI Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Further fix CI Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Lint` Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Update build_android.sh Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Rebase Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Fix cmake commands in CI job Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
* Add support for tiktoken and refactored runner structure Summary: Unified runner and move runner-et/CMakeLists.txt to runner/et.cmake and runner-aoti/CMakeLists.txt to runner/aoti.cmake. Added a root level CMakeLists.txt to build a tokenizer library and link to both targets separately. In CLI we need to specify the target to run: ``` cmake --build ./cmake-out --target et_run/aoti_run ``` Test Plan: Reviewers: Subscribers: Tasks: Tags: * Fix CI Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Fix more CI Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Further fix CI Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Lint` Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Update build_android.sh Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Rebase Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Fix cmake commands in CI job Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
* Add support for tiktoken and refactored runner structure Summary: Unified runner and move runner-et/CMakeLists.txt to runner/et.cmake and runner-aoti/CMakeLists.txt to runner/aoti.cmake. Added a root level CMakeLists.txt to build a tokenizer library and link to both targets separately. In CLI we need to specify the target to run: ``` cmake --build ./cmake-out --target et_run/aoti_run ``` Test Plan: Reviewers: Subscribers: Tasks: Tags: * Fix CI Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Fix more CI Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Further fix CI Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Lint` Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Update build_android.sh Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Rebase Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Fix cmake commands in CI job Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
* Add support for tiktoken and refactored runner structure Summary: Unified runner and move runner-et/CMakeLists.txt to runner/et.cmake and runner-aoti/CMakeLists.txt to runner/aoti.cmake. Added a root level CMakeLists.txt to build a tokenizer library and link to both targets separately. In CLI we need to specify the target to run: ``` cmake --build ./cmake-out --target et_run/aoti_run ``` Test Plan: Reviewers: Subscribers: Tasks: Tags: * Fix CI Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Fix more CI Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Further fix CI Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Lint` Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Update build_android.sh Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Rebase Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Fix cmake commands in CI job Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
* Add support for tiktoken and refactored runner structure Summary: Unified runner and move runner-et/CMakeLists.txt to runner/et.cmake and runner-aoti/CMakeLists.txt to runner/aoti.cmake. Added a root level CMakeLists.txt to build a tokenizer library and link to both targets separately. In CLI we need to specify the target to run: ``` cmake --build ./cmake-out --target et_run/aoti_run ``` Test Plan: Reviewers: Subscribers: Tasks: Tags: * Fix CI Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Fix more CI Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Further fix CI Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Lint` Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Update build_android.sh Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Rebase Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags: * Fix cmake commands in CI job Summary: Test Plan: Reviewers: Subscribers: Tasks: Tags:
Summary:
Unified runner and move runner-et/CMakeLists.txt to runner/et.cmake and runner-aoti/CMakeLists.txt to runner/aoti.cmake.
Added a root level CMakeLists.txt to build a tokenizer library and link to both targets separately.
In CLI we need to specify the target to run:
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags: