Skip to content

[ExecuTorch][Llama] Change runner to enable chunked prefill #9785

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

Conversation

kimishpatel
Copy link
Contributor

@kimishpatel kimishpatel commented Mar 31, 2025

Stack from ghstack (oldest at bottom):

This diff adds code to chunk prompt longer than max_seq_len to enable prefill of larger context

Differential Revision: D71833061

This diff adds code to chunk prompt longer than max_seq_len to enable prefill of larger context

Differential Revision: [D71833061](https://our.internmc.facebook.com/intern/diff/D71833061/)

[ghstack-poisoned]
Copy link

pytorch-bot bot commented Mar 31, 2025

🔗 Helpful Links

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

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

❌ 1 Cancelled Job

As of commit 6312ea6 with merge base 2aa7748 (image):

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

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 Mar 31, 2025
kimishpatel added a commit that referenced this pull request Mar 31, 2025
This diff adds code to chunk prompt longer than max_seq_len to enable prefill of larger context

Differential Revision: [D71833061](https://our.internmc.facebook.com/intern/diff/D71833061/)

ghstack-source-id: 275212294
Pull Request resolved: #9785
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71833061

This diff adds code to chunk prompt longer than max_seq_len to enable prefill of larger context

Differential Revision: [D71833061](https://our.internmc.facebook.com/intern/diff/D71833061/)

[ghstack-poisoned]
kimishpatel added a commit that referenced this pull request Mar 31, 2025
Pull Request resolved: #9785

This diff adds code to chunk prompt longer than max_seq_len to enable prefill of larger context

Differential Revision: [D71833061](https://our.internmc.facebook.com/intern/diff/D71833061/)
ghstack-source-id: 275236777
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71833061

This diff adds code to chunk prompt longer than max_seq_len to enable prefill of larger context

Differential Revision: [D71833061](https://our.internmc.facebook.com/intern/diff/D71833061/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71833061

This diff adds code to chunk prompt longer than max_seq_len to enable prefill of larger context

Differential Revision: [D71833061](https://our.internmc.facebook.com/intern/diff/D71833061/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71833061

This diff adds code to chunk prompt longer than max_seq_len to enable prefill of larger context

Differential Revision: [D71833061](https://our.internmc.facebook.com/intern/diff/D71833061/)

[ghstack-poisoned]
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D71833061

@kimishpatel kimishpatel added the release notes: examples Changes to any of our example LLMs integrations, such as Llama3 and Llava label Apr 1, 2025
@facebook-github-bot facebook-github-bot merged commit 925bafa into gh/kimishpatel/164/base Apr 1, 2025
88 of 91 checks passed
@facebook-github-bot facebook-github-bot deleted the gh/kimishpatel/164/head branch April 1, 2025 17:42
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. fb-exported release notes: examples Changes to any of our example LLMs integrations, such as Llama3 and Llava
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants