-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Feat/jsch jumpstart estimator support #4439
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
evakravi
merged 32 commits into
aws:master-jumpstart-curated-hub
from
bencrabtree:feat/jsch-model_estimator_support
Feb 26, 2024
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
032cb80
add hub and hubcontent support in retrieval function for jumpstart mo…
bencrabtree ef042d9
update types and var names
bencrabtree 49ae11b
update linter
bencrabtree 6175087
linter
bencrabtree 4c9b2d0
linter
bencrabtree 63345ea
flake8 check
bencrabtree 6efc206
add hub name support for jumpstart estimator
bencrabtree 2e9f76f
linter
bencrabtree ac8dd60
linter2
bencrabtree d4f7a00
fix param
bencrabtree 5492474
move to utils and test
bencrabtree 1e26760
feat: add hub and hubcontent support in retrieval function for jumpst…
bencrabtree 4ae201c
add hub and hubcontent support in retrieval function for jumpstart mo…
bencrabtree 4a19a33
update types and var names
bencrabtree 4d35379
update linter
bencrabtree 174c4fd
linter
bencrabtree b7a8835
linter
bencrabtree bb7a9fb
flake8 check
bencrabtree 8ba576a
pass hub_arn into all estimator utils/artifacts
bencrabtree ecd1f97
feat: add hub and hubcontent support in retrieval function for jumpst…
bencrabtree 8df4478
add hub and hubcontent support in retrieval function for jumpstart mo…
bencrabtree 4870c0b
update types and var names
bencrabtree 4dc21f5
update linter
bencrabtree dd51314
remove duplicate
bencrabtree 195b84b
Merge branch 'master-jumpstart-curated-hub' of https://github.com/aws…
bencrabtree a39ae5f
linter
bencrabtree 354b33e
add important unit test
bencrabtree 424254e
update tests
bencrabtree 8a3160a
black styles
bencrabtree 151350c
finish tests
bencrabtree dd087da
create curated hub utils and types
bencrabtree a61dfb4
fix linter
bencrabtree File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,7 @@ def retrieve_default( | |
region: Optional[str] = None, | ||
model_id: Optional[str] = None, | ||
model_version: Optional[str] = None, | ||
hub_arn: Optional[str] = None, | ||
tolerate_vulnerable_model: bool = False, | ||
tolerate_deprecated_model: bool = False, | ||
include_aws_sdk_env_vars: bool = True, | ||
|
@@ -46,6 +47,8 @@ def retrieve_default( | |
retrieve the default environment variables. (Default: None). | ||
model_version (str): Optional. The version of the model for which to retrieve the | ||
default environment variables. (Default: None). | ||
hub_arn (str): The arn of the SageMaker Hub for which to retrieve | ||
model details from. (default: None). | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: capitalize |
||
tolerate_vulnerable_model (bool): True if vulnerable versions of model | ||
specifications should be tolerated (exception not raised). If False, raises an | ||
exception if the script used by this version of the model has dependencies with known | ||
|
@@ -80,6 +83,7 @@ def retrieve_default( | |
return artifacts._retrieve_default_environment_variables( | ||
model_id, | ||
model_version, | ||
hub_arn, | ||
region, | ||
tolerate_vulnerable_model, | ||
tolerate_deprecated_model, | ||
|
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 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 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 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 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 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 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 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 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.