Skip to content

Properly remove first 4 bytes of BYTES data #550

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
merged 7 commits into from
Mar 27, 2024

Conversation

tgerdesnv
Copy link
Collaborator

@tgerdesnv tgerdesnv commented Mar 26, 2024

  • Updated InferContext::GetOutput to ignore first 4 bytes of BYTES data
  • Removed workarounds in GenAI-PA code that tried to remove the first 4 bytes of BYTES data
  • Added datatype input to constructor for InferRequestedOutput classes
  • Added Datatype() function to retrieve datatype to InferRequestedOutput classes

@tgerdesnv tgerdesnv requested a review from nv-hwoo March 26, 2024 15:31
Copy link
Contributor

@nv-hwoo nv-hwoo left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@tgerdesnv tgerdesnv merged commit d69c60b into main Mar 27, 2024
3 checks passed
@tgerdesnv tgerdesnv deleted the tgerdes-fix-bytes-corruption branch March 27, 2024 21:54
mc-nv pushed a commit that referenced this pull request Mar 27, 2024
* Add plumbing to get output datatype

* ignore first 4 bytes of BYTES data for gathering output

* Update py code to no longer remove leading bytes

* remove workaround in tests

* Fix order of args

* more fixes

* handle case where bytes response is empty
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.

2 participants