Skip to content

[llava][18/N] Move token generation loop to a class #4705

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 7 commits into from
Aug 13, 2024

Conversation

kirklandsign
Copy link
Contributor

[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.

Differential Revision: D61047601

Pull Request resolved: #4652

larryliu0820 and others added 7 commits August 9, 2024 14:38
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]
…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]
…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 13, 2024

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/4705

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 Cancelled Job, 3 Unrelated Failures

As of commit 0bda164 with merge base e71fa03 (image):

CANCELLED JOB - The following job was cancelled. Please retry:

FLAKY - The following job failed but was likely due to flakiness present on trunk:

UNSTABLE - The following jobs failed but were likely due to flakiness present on trunk and has been marked as unstable:

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 13, 2024
@kirklandsign kirklandsign merged commit 9293b78 into main Aug 13, 2024
101 of 108 checks passed
kirklandsign added a commit to kirklandsign/executorch that referenced this pull request Aug 15, 2024
* [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.
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