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

Commit

Permalink
Disable flaky test in test_amp_conversion (#16031)
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudh2290 authored and pengzhao-intel committed Aug 29, 2019
1 parent 9b906a5 commit 649429d
Showing 1 changed file with 3 additions and 0 deletions.
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

0 comments on commit 649429d

Please sign in to comment.