-
Notifications
You must be signed in to change notification settings - Fork 387
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
Implement experimental AWS SageMaker support #1968
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
AdeelH
changed the title
Implement experimental SageMaker support
Implement experimental AWS SageMaker support
Oct 31, 2023
AdeelH
force-pushed
the
sagemaker-part1
branch
from
November 1, 2023 13:33
e6cb829
to
ff21e41
Compare
AdeelH
force-pushed
the
sagemaker-part1
branch
from
November 1, 2023 13:39
ff21e41
to
9607abe
Compare
AdeelH
force-pushed
the
sagemaker-part1
branch
2 times, most recently
from
November 1, 2023 18:58
92079a2
to
761ceaf
Compare
AdeelH
force-pushed
the
sagemaker-part1
branch
from
November 1, 2023 20:14
761ceaf
to
e22fd18
Compare
Codecov Report
@@ Coverage Diff @@
## master #1968 +/- ##
=======================================
Coverage 86.19% 86.20%
=======================================
Files 191 193 +2
Lines 9362 9434 +72
=======================================
+ Hits 8070 8133 +63
- Misses 1292 1301 +9
|
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.
Overview
Supersedes #1871.
This PR adds the
rastervision_aws_sagemaker
module which allows running RV jobs on AWS SageMaker in much the same way thatrastervision_aws_batch
allows running jobs on AWS Batch.To use this functionality, you can add something like the following to your
~/.ratervision/default
configuration file:where
exec_role
is an IAM role with appropriate S3 and SageMaker permissions.*_image
is the URI of a docker image.*_instance_type
is the instance type. See here for a list.Checklist
needs-backport
label if PR is bug fix that applies to previous minor releaseNotes
pip install rastervision
.Testing Instructions
rastervision run sagemaker ..
instead ofrastervision run batch ..
.