Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Disable flaky test in test_amp_conversion #16031

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tests/python/gpu/test_contrib_amp.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,10 +329,13 @@ def check_amp_convert_bucketing_module():
batch_end_callback=mx.callback.Speedometer(batch_size, 1))

# AMP conversion with cast_optional_params set to true
# Flaky test when cast_optional_params set to True : https://github.com/apache/incubator-mxnet/issues/16030
'''
result_model = amp.convert_bucketing_module(model, cast_optional_params=True)
result_model.bind(data_val.provide_data, data_val.provide_label, for_training=False)
result_model.score(data_val, mx.metric.Perplexity(invalid_label),
batch_end_callback=mx.callback.Speedometer(batch_size, 1))
'''


with mx.Context(mx.gpu(0)):
Expand Down