Disable tests (temporary)

This commit is contained in:
Thiago Crepaldi 2020-04-01 09:32:41 -07:00
parent 6d769d47c4
commit 28ff88ce52

View file

@ -84,16 +84,94 @@ def create_backend_test(testname=None):
backend_test.include(testname + '.*')
else:
# Tests that are failing temporarily and should be fixed
current_failing_tests = [ #'^test_cast_STRING_to_FLOAT_cpu', # old test data that is bad on Linux CI builds
'^test_unique_not_sorted_without_axis_cpu', # bad expected data. enable after https://github.com/onnx/onnx/pull/2381 is picked up
'^test_mod_float_mixed_sign_example_cpu', #onnxruntime::Mod::Compute fmod_ was false. fmod attribute must be true for float, float16 and double types
current_failing_tests = [ # '^test_cast_STRING_to_FLOAT_cpu', # old test data that is bad on Linux CI builds
'^test_argmax*', # NOT_IMPLEMENTED : Could not find an implementation for the node ArgMax(12)
'^test_adagrad*', # NOT_IMPLEMENTED : Could not find an implementation for the node Adagrad(1)
'^test_argmin*', # NOT_IMPLEMENTED : Could not find an implementation for the node ArgMin(12)
'^test_batchnorm_epsilon_training_mode*', # Training_mode is not a scalar boolean
'^test_batchnorm_example_training_mode*', # Training_mode is not a scalar boolean
'^test_celu*', # Unrecognized attribute: alpha for operator Constant
'^test_clip_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Clip(12)
'^test_clip_default_inbounds_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Clip(12)
'^test_clip_default_int8_inbounds_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Clip(12)
'^test_clip_default_int8_max_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Clip(12)
'^test_clip_default_int8_min_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Clip(12)
'^test_clip_default_max_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Clip(12)
'^test_clip_default_min_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Clip(12)
'^test_clip_example_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Clip(12)
'^test_clip_inbounds_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Clip(12)
'^test_clip_outbounds_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Clip(12)
'^test_clip_splitbounds_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Clip(12)
'^test_dropout*', # Could not find an implementation for the node Dropset(12)..so weird its there!
'^test_dropout_default*', # Result differs
'^test_einsum*', # NOT_IMPLEMENTED : Could not find an implementation for the node Einsum(12)
'^test_gathernd_example_int32_batch_dim1_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node GatherND(12)
'^test_gradient_of_add_cpu*',
'^test_gradient_of_add_and_mul*',
'^test_inverse_batched_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Inverse(12)
'^test_inverse_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Inverse(12)
'^test_max_float16_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Max(12)
'^test_max_float32_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Max(12)
'^test_max_float64_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Max(12)
'^test_max_int16_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Max(12)
'^test_max_int32_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Max(12)
'^test_max_int64_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Max(12)
'^test_max_int8_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Max(12)
'^test_max_uint16_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Max(12)
'^test_max_uint32_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Max(12)
'^test_max_uint64_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Max(12)
'^test_max_uint8_cpu*', # NOT_IMPLEMENTED : Could not find an implementation for the node Max(12)
'^test_maxpool_2d_uint8*', # result differs
'^test_maxunpool_export_with_output_shape_cpu', # Invalid output in ONNX test. See https://github.com/onnx/onnx/issues/2398'
'^test_mean_square_distance_mean_3d_cpu*',
'^test_mean_square_distance_mean_3d_expanded*',
'^test_mean_square_distance_mean_4d_cpu*',
'^test_mean_square_distance_mean_4d_expanded*',
'^test_mean_square_distance_mean_cpu*',
'^test_mean_square_distance_mean_expanded*',
'^test_mean_square_distance_none_cpu*',
'^test_mean_square_distance_none_expanded*',
'^test_mean_square_distance_none_weights*',
'^test_mean_square_distance_none_weights_expanded*',
'^test_mean_square_distance_sum_cpu*',
'^test_mean_square_distance_sum_expanded*',
'^test_min_float16_cpu*',
'^test_min_float32_cpu*',
'^test_min_float64_cpu*',
'^test_min_int16_cpu*',
'^test_min_int32_cpu*',
'^test_min_int64_cpu*',
'^test_min_int8_cpu*',
'^test_min_uint16_cpu*',
'^test_min_uint32_cpu*',
'^test_min_uint64_cpu*',
'^test_min_uint8_cpu*',
'^test_mod_float_mixed_sign_example_cpu', # onnxruntime::Mod::Compute fmod_ was false. fmod attribute must be true for float, float16 and double types
'^test_negative_log_likelihood_loss_input_shape_is_NC_cpu*',
'^test_negative_log_likelihood_loss_input_shape_is_NCd1d2_cpu*',
'^test_negative_log_likelihood_loss_input_shape_is_NCd1d2_reduction_mean_cpu*',
'^test_negative_log_likelihood_loss_input_shape_is_NCd1d2_reduction_sum_cpu*',
'^test_negative_log_likelihood_loss_input_shape_is_NCd1d2_with_weight_cpu*',
'^test_negative_log_likelihood_loss_input_shape_is_NCd1d2_with_weight_reduction_mean_cpu*',
'^test_negative_log_likelihood_loss_input_shape_is_NCd1d2_with_weight_reduction_sum_cpu*',
'^test_resize_downsample_scales_cubic_align_corners_cpu', # results mismatch with onnx tests
'^test_resize_downsample_scales_linear_align_corners_cpu', # results mismatch with onnx tests
'^test_resize_tf_crop_and_resize_cpu', # bad expected data, needs test fix
'^test_resize_upsample_sizes_nearest_ceil_half_pixel_cpu', # bad expected data, needs test fix
'^test_resize_upsample_sizes_nearest_floor_align_corners_cpu', # bad expected data, needs test fix
'^test_resize_upsample_sizes_nearest_round_prefer_ceil_asymmetric_cpu', # bad expected data, needs test fix
'^test_maxunpool_export_with_output_shape_cpu', # Invalid output in ONNX test. See https://github.com/onnx/onnx/issues/2398'
'^test_sequence_model4*',
'^test_softmax_cross_entropy_mean*',
'^test_softmax_cross_entropy_mean_3d*',
'^test_softmax_cross_entropy_mean_weight*',
'^test_softmax_cross_entropy_none*',
'^test_softmax_cross_entropy_none_weights*',
'^test_softmax_cross_entropy_sum*',
'^test_split_zero_size_splits*', #Invalid value
'^test_unfoldtodepth_with_padding_cpu*',
'^test_unfoldtodepth_with_padding_stride_cpu*',
'^test_unfoldtodepth_without_padding_cpu*',
'^test_unique_not_sorted_without_axis_cpu', # bad expected data. enable after https://github.com/onnx/onnx/pull/2381 is picked up
]
# Example of how to disable tests for a specific provider.