-
Notifications
You must be signed in to change notification settings - Fork 606
[llava][20/N] Add llava runner using building blocks in e/llm/runner #4666
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
As titled. This PR moves the token generation loop in llama2 runner into a new class so it can be reused. [ghstack-poisoned]
…o a class" As titled. This PR moves the token generation loop in llama2 runner into a new class so it can be reused. Differential Revision: [D61047601](https://our.internmc.facebook.com/intern/diff/D61047601) [ghstack-poisoned]
As titled. This PR moves the token generation loop in llama2 runner into a new class so it can be reused. Differential Revision: [D61047601](https://our.internmc.facebook.com/intern/diff/D61047601) [ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/4666
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit ef8c92c with merge base 6efc222 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Very clean way to build the runner from components, thanks for all the work! Import to internal? |
…ing blocks in e/llm/runner" Add llava runner that uses runner lib in `extension/llm/runner`. [ghstack-poisoned]
…llm/runner" Add llava runner that uses runner lib in `extension/llm/runner`. [ghstack-poisoned]
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.
Lgtm after linter
…ing blocks in e/llm/runner" Add llava runner that uses runner lib in `extension/llm/runner`. [ghstack-poisoned]
…llm/runner" Add llava runner that uses runner lib in `extension/llm/runner`. [ghstack-poisoned]
…ing blocks in e/llm/runner" Add llava runner that uses runner lib in `extension/llm/runner`. [ghstack-poisoned]
…llm/runner" Add llava runner that uses runner lib in `extension/llm/runner`. [ghstack-poisoned]
@larryliu0820 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
…ing blocks in e/llm/runner" Add llava runner that uses runner lib in `extension/llm/runner`. Differential Revision: [D61292846](https://our.internmc.facebook.com/intern/diff/D61292846) [ghstack-poisoned]
…llm/runner" Add llava runner that uses runner lib in `extension/llm/runner`. Differential Revision: [D61292846](https://our.internmc.facebook.com/intern/diff/D61292846) [ghstack-poisoned]
@larryliu0820 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@larryliu0820 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
…ytorch#4666) * [llava][18/N] Move token generation loop to a class As titled. This PR moves the token generation loop in llama2 runner into a new class so it can be reused. [ghstack-poisoned] * [llava][19/N] Add multimodal runner base class and build file [ghstack-poisoned] * [llava][20/N] Add llava runner using building blocks in e/llm/runner [ghstack-poisoned] * Update base for Update on "[llava][20/N] Add llava runner using building blocks in e/llm/runner" Add llava runner that uses runner lib in `extension/llm/runner`. [ghstack-poisoned] * Update base for Update on "[llava][20/N] Add llava runner using building blocks in e/llm/runner" Add llava runner that uses runner lib in `extension/llm/runner`. Differential Revision: [D61292846](https://our.internmc.facebook.com/intern/diff/D61292846) [ghstack-poisoned]
Stack from ghstack (oldest at bottom):
Add llava runner that uses runner lib in
extension/llm/runner
.Differential Revision: D61292846