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

feat: Support BYTES/string type tensors #17

Merged
merged 1 commit into from
Dec 8, 2022
Merged

feat: Support BYTES/string type tensors #17

merged 1 commit into from
Dec 8, 2022

Conversation

njhill
Copy link
Member

@njhill njhill commented Nov 23, 2022

Addresses #8

Current limitations:

  • Does not obey request-level content_type request parameters (has to be set at tensor level)
  • Always encodes response tensor bytes as base64

Addresses #8

Current limitations:
- Does not obey request-level content_type request parameters (has to be set at tensor level)
- Always encodes response tensor bytes as base64

Signed-off-by: Nick Hill <[email protected]>
@njhill njhill marked this pull request as ready for review November 24, 2022 20:05
Copy link
Member

@ckadner ckadner left a comment

Choose a reason for hiding this comment

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

Took me a while to wrap my head around the marshal/unmarshal logic 🤨 I tweaked some of the testcases to test it and it works well. I build a custom rest-proxy image from your changes and deployed it to my cluster and did some manual testing and it works well.

/lgtm

@ckadner
Copy link
Member

ckadner commented Dec 8, 2022

/lgtm

@njhill njhill merged commit 31ed477 into main Dec 8, 2022
@njhill njhill deleted the handle-bytes branch December 8, 2022 22:39
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.

2 participants