-
Notifications
You must be signed in to change notification settings - Fork 6.8k
update previous flaky naive engine test #15651
Conversation
@mxnet-label-bot add [Flaky, test] |
@@ -275,6 +275,8 @@ def test_aggregate_duplication(): | |||
file_name = 'test_aggregate_duplication.json' | |||
enable_profiler(profile_filename = file_name, run=True, continuous_dump=True, \ | |||
aggregate_stats=True) | |||
# clear aggregate stats | |||
profiler.dumps(reset = True) |
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.
nit: remove space around '='.
FYI: http://google.github.io/styleguide/pyguide.html#36-whitespace
@@ -332,6 +334,8 @@ def create_operator(self, ctx, in_shapes, in_dtypes): | |||
file_name = 'test_custom_operator_profiling.json' | |||
enable_profiler(profile_filename = file_name, run=True, continuous_dump=True,\ | |||
aggregate_stats=True) | |||
# clear aggregate stats | |||
profiler.dumps(reset = True) |
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.
nit: remove space around '='.
FYI: http://google.github.io/styleguide/pyguide.html#36-whitespace
enable_profiler(profile_filename = file_name, run=True, continuous_dump=True,\ | ||
aggregate_stats=True) | ||
# clear aggregate stats | ||
profiler.dumps(reset = True) |
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.
nit: remove space around '='.
FYI: http://google.github.io/styleguide/pyguide.html#36-whitespace
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.
a nit comment. Otherwise LGTM. thanks!
@apeforest Can you help me merge? Thanks! |
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.
LGTM! Add "fixes #issue_number" to description
So that once its merged, issue gets auto closed.
target_dict = json.loads(debug_str) | ||
assert 'Time' in target_dict and 'Custom Operator' in target_dict['Time'] \ | ||
and 'MySigmoid::pure_python' in target_dict['Time']['Custom Operator'] \ | ||
and '_backward_MySigmoid::pure_python' in target_dict['Time']['Custom Operator'] \ | ||
and 'MySigmoid::_zeros' in target_dict['Time']['Custom Operator'] | ||
profiler.set_state('stop') | ||
|
||
def test_custom_operator_profiling_multiple_custom_ops_imperative(seed = 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.
why was function name changed from test_ to check_?
Gotcha
Added! Thanks! |
Oh adding that started another round of testing😂 |
* update precious flaky naive engine test * retriever tests * retrigger tests * retrigger tests * retrigger tests * retrigger tests * retrigger tests * Update test_profiler.py * retrigger tests * retrigger tests * retrigger tests * retrigger tests * retrigger tests * retrigger tests * Update test_profiler.py * retrigger tests * retrigger tests * retrigger tests * retrigger tests * Update test_profiler.py * retrigger tests * Update test_profiler.py
This reverts commit f0b6d72.
Description
update flaky test reported in #15414
fixes #15414
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Changes
Comments