pytorch/caffe2/python/serialized_test/data/operator_test
Ansha Yu 8ff435c8f6 Use tempfile during serialized test comparison (#12021)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/12021

TestPilot runs stress tests in parallel. These fail for serialized tests because extracting (and subsequent deletion) of binary data during the process isn't threadsafe. Extract zips into tempfile to avoid this problem.

Also remove some accidentally checked in zips of a test that we didn't end up including for now.

Reviewed By: houseroad

Differential Revision: D10013682

fbshipit-source-id: 6e13b850b38dee4106d3c10a9372747d17b67c5a
2018-09-25 20:55:45 -07:00
..
activation_ops_test.test_elu.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
activation_ops_test.test_leaky_relu.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
activation_ops_test.test_relu.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
activation_ops_test.test_relu_n.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
adadelta_test.test_adadelta.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
adadelta_test.test_sparse_adadelta_empty.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
adagrad_test.test_adagrad.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
adagrad_test.test_row_wise_sparse_adagrad_empty.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
adagrad_test.test_sparse_adagrad_empty.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
affine_channel_op_test.test_affine_channel_2d.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
arg_ops_test.test_argmax.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
arg_ops_test.test_argmin.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
batch_box_cox_test.test_batch_box_cox.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
batch_bucketize_op_test.test_batch_bucketize_example.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
batch_moments_op_test.test_batch_moments_2d.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
batch_sparse_to_dense_op_test.test_batch_sparse_to_dense.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
bbox_transform_test.test_bbox_transform.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
boolean_mask_test.test_boolean_mask.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
boolean_mask_test.test_sequence_mask_with_lengths.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
boolean_unmask_test.test.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
box_with_nms_limit_op_test.test_simple.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
ceil_op_test.test_ceil.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
channel_backprop_stats_op_test.testChannelBackpropStats.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
channel_shuffle_test.test_channel_shuffle.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
channel_stats_op_test.testChannelStats.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
clip_op_test.test_clip.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
clip_tensor_op_test.test_clip_tensor_by_scaling.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
collect_and_distribute_fpn_rpn_proposals_op_test.test_collect_and_dist.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
concat_split_op_test.test_concat.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
concat_split_op_test.test_split.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
concat_split_op_test.test_split_by_lengths.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
conditional_test.test_conditional.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
conv_test.test_1x1_conv.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
cosine_embedding_criterion_op_test.test_cosine_embedding_criterion.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
ctc_beam_search_decoder_op_test.test_ctc_beam_search_decoder.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
ctc_greedy_decoder_op_test.test_ctc_greedy_decoder.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
distance_op_test.test_dot_product.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
dropout_op_test.test_dropout_is_test.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
elementwise_linear_op_test.test.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
elementwise_logical_ops_test.test_is_member_of.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
elementwise_logical_ops_test.test_where.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
elementwise_op_broadcast_test.test_broadcast_powt.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
expand_op_test.test_expand_rand_shape.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
fc_operator_test.test_fc.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
filler_ops_test.test_diagonal_fill_op_float.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
filler_ops_test.test_lengths_range_fill.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
find_op_test.test_find.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
flexible_top_k_test.test_flexible_top_k.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
floor_op_test.test_floor.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
gather_ops_test.test_batch_gather_ops.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
gather_ops_test.test_gather_ops.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
gather_ranges_op_test.test_gather_ranges.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
gather_ranges_op_test.test_gather_ranges_split.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
glu_op_test.test_glu_old.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
group_norm_op_test.test_group_norm_2d.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
gru_test.test_gru_unit_op.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
hyperbolic_ops_test.test_cosh.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
hyperbolic_ops_test.test_sinh.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
hyperbolic_ops_test.test_tanh.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
index_hash_ops_test.test_index_hash_ops.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
instance_norm_test.test_instance_norm_reference_check.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
integral_image_ops_test.test_integral_image_gradient_ops.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
integral_image_ops_test.test_integral_image_ops.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
jsd_ops_test.test_bernoulli_jsd.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
layer_norm_op_test.test_layer_norm_grad_op.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
learning_rate_adaption_op_test.test_learning_rate_adaption_op_normalization.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
learning_rate_op_test.test_alter_learning_rate_op.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
length_split_op_test.test_length_split_edge.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
lengths_pad_op_test.test_lengths_pad.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
lengths_tile_op_test.test_lengths_tile.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
lengths_top_k_ops_test.test_lengths_top_k_op.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
locally_connected_op_test.test_lc_2d.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
loss_ops_test.test_averaged_loss.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
margin_ranking_criterion_op_test.test_margin_ranking_criterion.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
math_ops_test.test_sign.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
matmul_op_test.test_batch_matmul.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
matmul_op_test.test_matmul.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
matmul_op_test.test_numpy_batch_matmul.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
mean_op_test.test_mean.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
merge_id_lists_op_test.test_merge_id_lists_op.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
moments_op_test.test_moments.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
momentum_sgd_test.test_momentum_sgd.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
momentum_sgd_test.test_sparse_momentum_sgd.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
negate_gradient_op_test.test_forward.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
numpy_tile_op_test.test_numpy_tile.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
one_hot_ops_test.test_batch_bucketized_one_hot.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
one_hot_ops_test.test_batch_one_hot.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
one_hot_ops_test.test_one_hot.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
one_hot_ops_test.test_segment_one_hot.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
onnx_while_test.test_onnx_while_fibb.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
pack_ops_test.test_pack_with_max_length_ops.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
pack_rnn_sequence_op_test.test_pack_rnn_seqence.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
pack_rnn_sequence_op_test.test_unpack_rnn_seqence.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
pad_test.test_crop.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
piecewise_linear_transform_test.test_multi_predictions_params_from_arg.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
rank_loss_operator_test.test_pair_wise_loss_batch.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
recurrent_network_test.test_mul.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
reduce_ops_test.test_reduce_back_max.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
reduce_ops_test.test_reduce_back_mean.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
reduce_ops_test.test_reduce_front_max.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
reduce_ops_test.test_reduce_front_mean.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
reduce_ops_test.test_reduce_front_sum.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
reduce_ops_test.test_reduce_l2.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
reduce_ops_test.test_reduce_max.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
reduce_ops_test.test_reduce_mean.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
reduce_ops_test.test_reduce_min.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
reduction_ops_test.test_columnwise_max.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
reduction_ops_test.test_elementwise_int_sum.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
reduction_ops_test.test_elementwise_sqrsum.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
reduction_ops_test.test_elementwise_sum.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
reduction_ops_test.test_rowwise_max.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
selu_op_test.test_selu_1.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
sequence_ops_test.test_add_padding.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
sequence_ops_test.test_find_duplicate_elements.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
sequence_ops_test.test_gather_padding.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
sequence_ops_test.test_remove_data_blocks.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
sequence_ops_test.test_reverse_packed_segs.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
sinusoid_position_encoding_op_test.test_sinusoid_embedding.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
softmax_ops_test.test_softmax.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
softmax_ops_test.test_softmax_grad.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
softmax_ops_test.test_softmax_with_loss.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
softmax_ops_test.test_spatial_softmax_with_loss.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
sparse_ops_test.testScatterAssign.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
sparse_ops_test.testScatterWeightedSum.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
spatial_bn_op_test.test_spatialbn_test_mode_3d.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
square_root_divide_op_test.test_square_root_divide.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
string_ops_test.test_string_ends_with.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
string_ops_test.test_string_starts_with.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
thresholded_relu_op_test.test_thresholded_relu_1.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
tile_op_test.test_tile.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
top_k_test.test_top_k.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
transpose_op_test.test_transpose.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
trigonometric_op_test.test_acos.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
trigonometric_op_test.test_asin.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
trigonometric_op_test.test_atan.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
trigonometric_op_test.test_tan.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
unique_ops_test.test_unique_op.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
upsample_op_test.test_upsample.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
upsample_op_test.test_upsample_grad.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
utility_ops_test.test_elementwise_max.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
utility_ops_test.test_elementwise_max_grad.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
utility_ops_test.test_elementwise_min.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
utility_ops_test.test_elementwise_min_grad.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
utility_ops_test.test_lengths_gather.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
utility_ops_test.test_lengths_to_ranges.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
utility_ops_test.test_nan_check.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
utility_ops_test.test_size_op.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
utility_ops_test.test_slice.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
utility_ops_test.test_transpose.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
weighted_sum_test.test_weighted_sum.zip Refactor tests part 1 (#11350) 2018-09-18 10:42:10 -07:00
wngrad_test.test_sparse_wngrad_empty.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00
wngrad_test.test_wngrad_dense_base.zip Refactor tests part 2 (#11811) 2018-09-19 10:09:28 -07:00