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

update triton to 21.08 (allowing for content-endocded payloads) #3589

Merged
merged 8 commits into from
Sep 15, 2021
Merged

update triton to 21.08 (allowing for content-endocded payloads) #3589

merged 8 commits into from
Sep 15, 2021

Conversation

RafalSkolasinski
Copy link
Contributor

@RafalSkolasinski RafalSkolasinski commented Sep 14, 2021

What this PR does / why we need it:

This updates Triton image from 20.08 to 21.08. As new version of Triton Server respects Accept-Encoding header that by default from python requests reads 'Accept-Encoding': 'gzip, deflate' the response may now by gzip encoded.

For this to be correctly the Content-Encoding header must be present.

Additionally, this PR adds change to not escape HTML characters in executor if content is encoded.

Which issue(s) this PR fixes:

Fixes #3318

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@RafalSkolasinski
Copy link
Contributor Author

/test integration

@RafalSkolasinski
Copy link
Contributor Author

/test notebooks

@RafalSkolasinski
Copy link
Contributor Author

/test integration

@RafalSkolasinski
Copy link
Contributor Author

Tests passed in the CI!

image

@axsaucedo
Copy link
Contributor

This is really good - overall lgtm, I am wondering whether there's a way to document this so it doesn't catch us off-guard if we're someone later on looks at the changes and doesn't know why they are needed. Maybe just adding a comment with a link to this PR for context - thinking it would be mainly this line https://github.com/SeldonIO/seldon-core/pull/3589/files#diff-7b20b52f5ddc2d09eaf37f69a2a8efde655f48cc1ea0d36cd9df39af9d31bcf5R67

@RafalSkolasinski
Copy link
Contributor Author

Added comment, linked PR and additional documentation and also extended PR description.

@axsaucedo
Copy link
Contributor

Nice one @RafalSkolasinski - lgtm!
/approve

@seldondev
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: axsaucedo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@axsaucedo axsaucedo merged commit 8988f5c into SeldonIO:master Sep 15, 2021
stephen37 pushed a commit to stephen37/seldon-core that referenced this pull request Dec 21, 2021
…onIO#3589)

* update triton to 21.08

* experiment with content-encoding

* executor: escape html only when no encoding is present

* undo force no compression

* remove forgotten fmt.Println

* Update client.go

add in-code comment

* typo fix

* fix whitespace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update version of Triton image in configmap
3 participants