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 sequence batcher padding string correlation ids to maximum size #339

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

CGranger-sorenson
Copy link

Currently the sequence batcher creates tensors for string correlation ids by padding them to the maximum string size (128). We found that the padding makes it difficult to extract the correlation ids properly in the python and other backends when using stateful models.

This fix removes the padding by using the length of the correlation id string instead of the maximum string size.

CCLA has been submitted to [email protected]

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.

1 participant