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

Add deferrable param in SageMakerTrainingOperator #31042

Merged
merged 5 commits into from
May 8, 2023

Conversation

pankajkoti
Copy link
Member

@pankajkoti pankajkoti commented May 3, 2023

This will allow running SageMakerTrainingOperator in an async
fashion meaning that we only submit a job from the worker to
run a job and then defer to the trigger for polling to wait for the
job status to reach a terminal state. This way, the worker slot
won't be occupied for the whole period of task execution.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added area:providers provider:amazon AWS/Amazon - related issues labels May 3, 2023
@pankajkoti pankajkoti force-pushed the async-sagemaker-training-operator branch from e647c72 to 58c4b24 Compare May 3, 2023 19:03
pankajkoti added 4 commits May 4, 2023 19:33
This will allow running SageMakerTrainingOperator in an async fashion
meaning that we only submit a job from the worker to run a job and
then defer to the trigger for polling to wait for the job status reaching
a terminal state. This way, the worker slot won't be occupied for the
whole period of task execution.
@pankajkoti pankajkoti force-pushed the async-sagemaker-training-operator branch from 6ac82e9 to 22de2d7 Compare May 4, 2023 14:03
@potiuk potiuk merged commit a809c91 into apache:main May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:providers provider:amazon AWS/Amazon - related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants