Skip to content
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

[Text Generation][Enhancement] If prompt_processing_sequence_length == 1, do not inititalize multitoken_engine #1214

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

dbogunowicz
Copy link
Contributor

@dbogunowicz dbogunowicz commented Aug 29, 2023

A simple improvement that streamlines the pipeline.

If prompt_processing_sequence_length == 1, we are essentially running single-token prompt prefill , so we should not be initializing and running the additional engine.

@dbogunowicz dbogunowicz changed the title Feature/damian/prompt processing one [Text Generation][Enhancement] If prompt_processing_sequence_length == 1, do not inititalize multitoken_engine Aug 29, 2023
Copy link
Member

@mgoin mgoin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

awesome! a special case i'll take advantage of :)

@dbogunowicz dbogunowicz merged commit d8b63da into main Aug 30, 2023
7 checks passed
@dbogunowicz dbogunowicz deleted the feature/damian/prompt_processing_one branch August 30, 2023 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants