-
Notifications
You must be signed in to change notification settings - Fork 7
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 example notebooks to integ tests #198
base: main
Are you sure you want to change the base?
Conversation
ef81310
to
764c500
Compare
764c500
to
06dc458
Compare
@@ -500,7 +500,8 @@ def _serialize_dict(value: Dict) -> dict: | |||
""" | |||
serialized_dict = {} | |||
for k, v in value.items(): | |||
if serialize_result := serialize(v): |
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.
The previous condition will miss values like integer 0
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.
Can we do if serialize_result := serialize(v) is not None:
?
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.
updated
trial_component.disassociate_trail(trial_name=trial.trial_name) | ||
trial_component.delete() | ||
trial.delete() |
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.
Can we move this to SageMakerCleaner
so all resources cleanup is managed in one place ?
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.
TrialComponent must disassociate with Trial first, and they have to be deleted in the order TrialComponent -> Trial -> Experiment. So they can not be deleted in the way of deleting the same type of resources together
@@ -500,7 +500,8 @@ def _serialize_dict(value: Dict) -> dict: | |||
""" | |||
serialized_dict = {} | |||
for k, v in value.items(): | |||
if serialize_result := serialize(v): |
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.
Can we do if serialize_result := serialize(v) is not None:
?
|
||
assert invoke_result.body | ||
|
||
invoke_result = endpoint.invoke_with_response_stream( |
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.
Test seems to be failing .
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.
fixed
0110a52
to
5ac4f77
Compare
5ac4f77
to
1f50a79
Compare
1f50a79
to
3519265
Compare
3519265
to
abf5867
Compare
Issue #, if available:
Description of changes:
Add the content in
track_local_pytorch_experiment.ipynb
to integ test. AddEndpoint.invoke()
andEndpoint.invoke_with_response_stream()
to existing test. Fix some bugs found during testing.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.