Skip to content

[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

Merged
merged 14 commits into from
Aug 15, 2024

Conversation

larryliu0820
Copy link
Contributor

@larryliu0820 larryliu0820 commented Aug 12, 2024

Stack from ghstack (oldest at bottom):

Add llava runner that uses runner lib in extension/llm/runner.

Differential Revision: D61292846

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]
Copy link

pytorch-bot bot commented Aug 12, 2024

🔗 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 Failures

As of commit ef8c92c with merge base 6efc222 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 12, 2024
@larryliu0820 larryliu0820 marked this pull request as ready for review August 12, 2024 16:28
@lucylq
Copy link
Contributor

lucylq commented Aug 13, 2024

Very clean way to build the runner from components, thanks for all the work! Import to internal?

@larryliu0820 larryliu0820 changed the base branch from gh/larryliu0820/49/base to main August 14, 2024 07:39
@larryliu0820 larryliu0820 changed the base branch from main to gh/larryliu0820/49/base August 14, 2024 07:48
…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]
Copy link
Contributor

@lucylq lucylq left a 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]
larryliu0820 added a commit that referenced this pull request Aug 14, 2024
…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 added a commit that referenced this pull request Aug 14, 2024
@larryliu0820
Copy link
Contributor Author

@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 added a commit that referenced this pull request Aug 14, 2024
@larryliu0820
Copy link
Contributor Author

@larryliu0820 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@larryliu0820 larryliu0820 changed the base branch from gh/larryliu0820/49/base to main August 14, 2024 20:51
@facebook-github-bot
Copy link
Contributor

@larryliu0820 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@larryliu0820 larryliu0820 merged commit 84100d1 into main Aug 15, 2024
36 of 37 checks passed
kirklandsign pushed a commit to kirklandsign/executorch that referenced this pull request Aug 15, 2024
…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]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants