-
Notifications
You must be signed in to change notification settings - Fork 301
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
Sagemaker inference agent #2027
Merged
Merged
Conversation
This file contains 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
Signed-off-by: Ketan Umare <[email protected]>
kumare3
requested review from
wild-endeavor,
eapolinario,
pingsutw and
cosmicBboy
as code owners
December 7, 2023 06:29
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2027 +/- ##
==========================================
- Coverage 83.76% 83.52% -0.24%
==========================================
Files 329 324 -5
Lines 25002 24578 -424
Branches 3708 3496 -212
==========================================
- Hits 20943 20529 -414
+ Misses 3432 3420 -12
- Partials 627 629 +2 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Ketan Umare <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
If this PR needs my help, feel free to ping me, thanks a lot! |
Signed-off-by: Samhita Alla <[email protected]>
kumare3
commented
Jan 25, 2024
plugins/flytekit-aws-sagemaker/flytekitplugins/awssagemaker/workflow.py
Outdated
Show resolved
Hide resolved
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
pingsutw
previously approved these changes
Mar 21, 2024
Signed-off-by: Samhita Alla <[email protected]>
Signed-off-by: Samhita Alla <[email protected]>
pingsutw
approved these changes
Mar 23, 2024
fiedlerNr9
pushed a commit
that referenced
this pull request
Jul 25, 2024
* [wip] Sagemaker serving agent Signed-off-by: Ketan Umare <[email protected]> * added sync agent example Signed-off-by: Ketan Umare <[email protected]> * initial version Signed-off-by: Samhita Alla <[email protected]> * add deployment workflow Signed-off-by: Samhita Alla <[email protected]> * add a workflow to delete sagemaker deployment Signed-off-by: Samhita Alla <[email protected]> * clean up Signed-off-by: Samhita Alla <[email protected]> * modify dict update logic, create sagemaker deployment tasks Signed-off-by: Samhita Alla <[email protected]> * nit Signed-off-by: Samhita Alla <[email protected]> * dockerfile and setup changes Signed-off-by: Samhita Alla <[email protected]> * update Signed-off-by: Samhita Alla <[email protected]> * update Signed-off-by: Samhita Alla <[email protected]> * pin aioboto3 version Signed-off-by: Samhita Alla <[email protected]> * remove boto3 directory Signed-off-by: Samhita Alla <[email protected]> * update imports Signed-off-by: Samhita Alla <[email protected]> * boto3 update code and add tests Signed-off-by: Samhita Alla <[email protected]> * remove output type Signed-off-by: Samhita Alla <[email protected]> * add await Signed-off-by: Samhita Alla <[email protected]> * remove sync Signed-off-by: Samhita Alla <[email protected]> * modify imports Signed-off-by: Samhita Alla <[email protected]> * modify container logic Signed-off-by: Samhita Alla <[email protected]> * modify output key Signed-off-by: Samhita Alla <[email protected]> * add default container image Signed-off-by: Samhita Alla <[email protected]> * remove struct Signed-off-by: Samhita Alla <[email protected]> * add region Signed-off-by: Samhita Alla <[email protected]> * add output to gettaskresponse Signed-off-by: Samhita Alla <[email protected]> * convert to dict to str Signed-off-by: Samhita Alla <[email protected]> * revert Signed-off-by: Samhita Alla <[email protected]> * remove timeout and add creds to boto3 calls Signed-off-by: Samhita Alla <[email protected]> * add to_flyte_idl Signed-off-by: Samhita Alla <[email protected]> * subclass fix Signed-off-by: Samhita Alla <[email protected]> * invoke endpoint async Signed-off-by: Samhita Alla <[email protected]> * remove output type Signed-off-by: Samhita Alla <[email protected]> * modify create sagemaker deployment code Signed-off-by: Samhita Alla <[email protected]> * dict loop Signed-off-by: Samhita Alla <[email protected]> * add wf output Signed-off-by: Samhita Alla <[email protected]> * set lhs to an empty string for pythoninstancetask & modify param name in create deployment task Signed-off-by: Samhita Alla <[email protected]> * update tracker and delete deployment workflow Signed-off-by: Samhita Alla <[email protected]> * instance to instancetask Signed-off-by: Samhita Alla <[email protected]> * add tests Signed-off-by: Samhita Alla <[email protected]> * ruff isort Signed-off-by: Samhita Alla <[email protected]> * ruff isort Signed-off-by: Samhita Alla <[email protected]> * isort Signed-off-by: Samhita Alla <[email protected]> * add test Signed-off-by: Samhita Alla <[email protected]> * pin greatexpectations version Signed-off-by: Samhita Alla <[email protected]> * update secret name Signed-off-by: Samhita Alla <[email protected]> * add typing dict and update tracker Signed-off-by: Samhita Alla <[email protected]> * modify tracker test Signed-off-by: Samhita Alla <[email protected]> * add sync agent Signed-off-by: Samhita Alla <[email protected]> * add name Signed-off-by: Samhita Alla <[email protected]> * add syncagentexecutormixin Signed-off-by: Samhita Alla <[email protected]> * modify sync output Signed-off-by: Samhita Alla <[email protected]> * metadata to resource_meta Signed-off-by: Samhita Alla <[email protected]> * remote conversion to flyte idl Signed-off-by: Samhita Alla <[email protected]> * add output type Signed-off-by: Samhita Alla <[email protected]> * floats to ints Signed-off-by: Samhita Alla <[email protected]> * in place modification Signed-off-by: Samhita Alla <[email protected]> * chain tasks Signed-off-by: Samhita Alla <[email protected]> * great expectations revert Signed-off-by: Samhita Alla <[email protected]> * optimize float to int code Signed-off-by: Samhita Alla <[email protected]> * snake case Signed-off-by: Samhita Alla <[email protected]> * modify plugin name Signed-off-by: Samhita Alla <[email protected]> * modify plugin name Signed-off-by: Samhita Alla <[email protected]> * modify tracker tests Signed-off-by: Samhita Alla <[email protected]> * fix tests, revert tracker changes and remove pythoninstancetask Signed-off-by: Samhita Alla <[email protected]> * tracker changes revert Signed-off-by: Samhita Alla <[email protected]> * dict to Dict Signed-off-by: Samhita Alla <[email protected]> * make images optional Signed-off-by: Samhita Alla <[email protected]> * add image_name Signed-off-by: Samhita Alla <[email protected]> * debug Signed-off-by: Samhita Alla <[email protected]> * debug Signed-off-by: Samhita Alla <[email protected]> * debug Signed-off-by: Samhita Alla <[email protected]> * debug Signed-off-by: Samhita Alla <[email protected]> * debug Signed-off-by: Samhita Alla <[email protected]> * debug Signed-off-by: Samhita Alla <[email protected]> * debug Signed-off-by: Samhita Alla <[email protected]> * debug Signed-off-by: Samhita Alla <[email protected]> * debug Signed-off-by: Samhita Alla <[email protected]> * debug Signed-off-by: Samhita Alla <[email protected]> * debug Signed-off-by: Samhita Alla <[email protected]> * debug Signed-off-by: Samhita Alla <[email protected]> * debug Signed-off-by: Samhita Alla <[email protected]> * dict to Dict Signed-off-by: Samhita Alla <[email protected]> * state to phase Signed-off-by: Samhita Alla <[email protected]> * add encode mode to secrets.get Signed-off-by: Samhita Alla <[email protected]> * revert: add encode mode to secrets.get Signed-off-by: Samhita Alla <[email protected]> * add decode Signed-off-by: Samhita Alla <[email protected]> * revert decode Signed-off-by: Samhita Alla <[email protected]> * ergonomic improvements; change plugin name Signed-off-by: Samhita Alla <[email protected]> * change plugin name Signed-off-by: Samhita Alla <[email protected]> * nit Signed-off-by: Samhita Alla <[email protected]> * image check Signed-off-by: Samhita Alla <[email protected]> * add api docs Signed-off-by: Samhita Alla <[email protected]> * add api docs Signed-off-by: Samhita Alla <[email protected]> * incorporate Kevin's suggestions Signed-off-by: Samhita Alla <[email protected]> * handle scenario when the same input is present in the wf already Signed-off-by: Samhita Alla <[email protected]> * add support for region to be a user-provided input at run-time Signed-off-by: Samhita Alla <[email protected]> * modify workflow code to accommodate providing regions at runtime Signed-off-by: Samhita Alla <[email protected]> * code optimization and add region support to workflows Signed-off-by: Samhita Alla <[email protected]> * nit Signed-off-by: Samhita Alla <[email protected]> * fixed an input_types bug Signed-off-by: Samhita Alla <[email protected]> * fix images bug Signed-off-by: Samhita Alla <[email protected]> * replace endpoint_name with config Signed-off-by: Samhita Alla <[email protected]> * input_region default Signed-off-by: Samhita Alla <[email protected]> * add inputs Signed-off-by: Samhita Alla <[email protected]> * replace bug Signed-off-by: Samhita Alla <[email protected]> * add return type Signed-off-by: Samhita Alla <[email protected]> * kwtypes fix bug Signed-off-by: Samhita Alla <[email protected]> * add cache_ignore_input_vars to task template in tests Signed-off-by: Samhita Alla <[email protected]> * fix test Signed-off-by: Samhita Alla <[email protected]> * fix test Signed-off-by: Samhita Alla <[email protected]> * add test case for boto3 call method Signed-off-by: Samhita Alla <[email protected]> * lint Signed-off-by: Samhita Alla <[email protected]> * lint Signed-off-by: Samhita Alla <[email protected]> * lint Signed-off-by: Samhita Alla <[email protected]> * lint Signed-off-by: Samhita Alla <[email protected]> * lint Signed-off-by: Samhita Alla <[email protected]> * ruff version Signed-off-by: Samhita Alla <[email protected]> * ruff version Signed-off-by: Samhita Alla <[email protected]> * nit Signed-off-by: Samhita Alla <[email protected]> * docstring update Signed-off-by: Samhita Alla <[email protected]> --------- Signed-off-by: Ketan Umare <[email protected]> Signed-off-by: Samhita Alla <[email protected]> Co-authored-by: Samhita Alla <[email protected]> Signed-off-by: Jan Fiedler <[email protected]>
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.
Tracking issue
Fixes flyteorg/flyte#4079
Why are the changes needed?
To deploy models and generate predictions using Sagemaker on Flyte seamlessly.
What changes were proposed in this pull request?
The Sagemaker agent lets users deploy models on Sagemaker, configure and invoke endpoints.
How was this patch tested?
Setup process
Screenshots
Check all the applicable boxes
Related PRs
Docs link