Skip to content

Conversation

@larryliu0820
Copy link
Contributor

In sequential prefill, we should print out the prompt, and we shouldn't print the first token(<s>) as well as the token generated by prefill. The runner should have control on what to do with the token generated by prefill.

Will add some unit tests later but now it fixes test-llama-runner-mac CI job.

In sequential prefill, we should print out the prompt, and we
shouldn't print the first token(`<s>`) as well as the token generated by prefill.
The runner should have control on what to do with the token generated by prefill.

Will add some unit tests later but now it fixes test-llama-runner-mac CI
job.
@pytorch-bot
Copy link

pytorch-bot bot commented Aug 10, 2024

🔗 Helpful Links

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

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

✅ No Failures

As of commit f6bbe43 with merge base 7f34796 (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 10, 2024
@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 requested a review from cccclai August 10, 2024 20:57
@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.

@facebook-github-bot facebook-github-bot merged commit ce7f5a0 into main Aug 11, 2024
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.

4 participants