-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add support for Batch Transform and update README with TF Pipe Mode #298
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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This change adds wait_for_transform_job function to Session. It's a part of batch inference support. Transform job creation and attach are non-blocking. This method provides a way to block and wait for the job to finish.
Attach enables attaching to an existing transform job and returns a Transformer instance. Wait blocks is a blocking operation which reports the progress of a transform job and will only return when the job finishes.
Use dict.get to retrive optional fields from job_details to avoid KeyError
owen-t
approved these changes
Jul 17, 2018
Codecov Report
@@ Coverage Diff @@
## master #298 +/- ##
==========================================
+ Coverage 92.66% 93.05% +0.39%
==========================================
Files 49 50 +1
Lines 3313 3456 +143
==========================================
+ Hits 3070 3216 +146
+ Misses 243 240 -3
Continue to review full report at Codecov.
|
knakad
pushed a commit
to knakad/sagemaker-python-sdk
that referenced
this pull request
Dec 4, 2019
knakad
pushed a commit
that referenced
this pull request
Dec 4, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of changes:
Transformer
class for creating batch transform jobsMerge Checklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.