-
Notifications
You must be signed in to change notification settings - Fork 305
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 custom types for ParameterRangeOneOf and HyperparameterConfig. TunableParams extraction #189
Merged
Merged
SageMaker custom types for ParameterRangeOneOf and HyperparameterConfig. TunableParams extraction #189
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
a248037
Typing
EngHabu 3883b03
Merge branch 'master' into sm-custom-type
EngHabu 2198781
ParameterRangeOneOf model
EngHabu bfc9991
cleanup
EngHabu b83d810
lint
EngHabu 9ebf5c9
Merge branch 'master' into sm-custom-type
EngHabu 243d0e7
lint
EngHabu d32de2a
unittests
EngHabu ca2c8fb
unit
EngHabu 9c9646d
unit
EngHabu 105f58a
isort
EngHabu 3cb7a0c
isort
EngHabu 7851288
py 3.5
EngHabu 6b7d89a
Merge branch 'master' into sm-custom-type
EngHabu 29c4aa7
lint
EngHabu 8830680
Merge branch 'master' into sm-custom-type
EngHabu 454ec9d
lint
EngHabu e55ef83
re-add generic types to protos
EngHabu a5c44a5
lint
EngHabu 9638801
Remove generic
EngHabu 6b554cb
Merge branch 'master' into sm-custom-type
EngHabu defee18
remove T
EngHabu 6876251
Merge branch 'sm-custom-type' of github.com:lyft/flytekit into sm-cus…
EngHabu 93a1e29
Merge branch 'master' into sm-custom-type
EngHabu a9ee07c
Merge branch 'master' into sm-custom-type
EngHabu 9af0fb4
reformat
EngHabu 591e084
fix import
EngHabu d334211
PR Comments
EngHabu e09bd52
lint
EngHabu cd898f5
lint
EngHabu 3eb21ee
PR Comments
EngHabu e876fb7
PR Comments
EngHabu b0cc0cb
lint
EngHabu e1fdaf6
unittest
EngHabu 3b122c5
Merge master
EngHabu c026081
PR Comments
EngHabu 23aa95c
lint
EngHabu c48d496
remove deprecated fields
EngHabu 5c54947
Support converting raw protos through Types.*Proto classes
EngHabu 800251f
lint
EngHabu c6b2667
revert notebook.py
EngHabu 4807d5e
lint
EngHabu 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 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 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from flytekit.models.sagemaker import hpo_job as _hpo_models | ||
from flytekit.models.sagemaker import parameter_ranges as _parameter_range_models | ||
from flytekit.sdk import types as _sdk_types | ||
|
||
HyperparameterTuningJobConfig = _sdk_types.Types.GenericProto(_hpo_models.HyperparameterTuningJobConfig) | ||
|
||
ParameterRange = _sdk_types.Types.GenericProto(_parameter_range_models.ParameterRangeOneOf) | ||
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we are wrapping a
model
instead, should we still call itGeneric"Proto"
?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
models should be thought of as "glorified" protos (or pythonic-protos)... so same assumptions about them should apply...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes sense