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

fix: Preserve Sequence Flags in Ensemble models #369

Merged
merged 9 commits into from
Jun 12, 2024

Conversation

indrajit96
Copy link
Contributor

@indrajit96 indrajit96 commented Jun 10, 2024

Revert changes made in e978d80 to ensure START and END flags are propagated correctly in ensemble models.

RCA : Any ensemble inference request where the user sets the flags "sequence_start" and "sequence_end" was getting ignored.
Fix : We now check if the request had the FLAGS set and then pass them forward as is.

Future scope : This was a bug introduced in e978d80 which was intended to clean up code. We do not expect these changes to come back again.
Have added a TC in triton-inference-server/server#7344 to ensure regression in future.

@indrajit96 indrajit96 requested a review from GuanLuo June 10, 2024 23:08
@indrajit96 indrajit96 force-pushed the identity_ensemble_flag_ibhosale branch from cd29411 to c43bda7 Compare June 11, 2024 00:17
@GuanLuo
Copy link
Contributor

GuanLuo commented Jun 11, 2024

Update title

@indrajit96 indrajit96 changed the title Identity ensemble flag ibhosale Fix START and END flags in ensemble models. Jun 11, 2024
@rmccorm4 rmccorm4 changed the title Fix START and END flags in ensemble models. fix: Fix START and END flags in ensemble models Jun 11, 2024
@rmccorm4
Copy link
Contributor

rmccorm4 commented Jun 11, 2024

Can you elaborate in the description why the reverted changes were breaking the propagation? And do the reverted changes need to come back at some point (in some modified way to not break this) for other reasons?

@indrajit96 indrajit96 changed the title fix: Fix START and END flags in ensemble models Preserve Sequence Flags in Ensemble models Jun 12, 2024
@rmccorm4 rmccorm4 changed the title Preserve Sequence Flags in Ensemble models fix: Preserve Sequence Flags in Ensemble models Jun 12, 2024
@rmccorm4 rmccorm4 merged commit 6d00416 into main Jun 12, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants