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
activation_ops_test.test_leaky_relu.zip
activation_ops_test.test_relu.zip
activation_ops_test.test_relu_n.zip
adadelta_test.test_adadelta.zip
adadelta_test.test_sparse_adadelta_empty.zip
adagrad_test.test_adagrad.zip
adagrad_test.test_row_wise_sparse_adagrad_empty.zip
adagrad_test.test_sparse_adagrad_empty.zip
affine_channel_op_test.test_affine_channel_2d.zip
arg_ops_test.test_argmax.zip
arg_ops_test.test_argmin.zip
batch_box_cox_test.test_batch_box_cox.zip
batch_bucketize_op_test.test_batch_bucketize_example.zip
batch_moments_op_test.test_batch_moments_2d.zip
batch_sparse_to_dense_op_test.test_batch_sparse_to_dense.zip
bbox_transform_test.test_bbox_transform.zip
boolean_mask_test.test_boolean_mask.zip
boolean_mask_test.test_sequence_mask_with_lengths.zip
boolean_unmask_test.test.zip
box_with_nms_limit_op_test.test_simple.zip
ceil_op_test.test_ceil.zip
channel_backprop_stats_op_test.testChannelBackpropStats.zip
channel_shuffle_test.test_channel_shuffle.zip
channel_stats_op_test.testChannelStats.zip
clip_op_test.test_clip.zip
clip_tensor_op_test.test_clip_tensor_by_scaling.zip
collect_and_distribute_fpn_rpn_proposals_op_test.test_collect_and_dist.zip
concat_split_op_test.test_concat.zip
concat_split_op_test.test_split.zip
concat_split_op_test.test_split_by_lengths.zip
conditional_test.test_conditional.zip
conv_test.test_1x1_conv.zip
cosine_embedding_criterion_op_test.test_cosine_embedding_criterion.zip
ctc_beam_search_decoder_op_test.test_ctc_beam_search_decoder.zip
ctc_greedy_decoder_op_test.test_ctc_greedy_decoder.zip
distance_op_test.test_dot_product.zip
dropout_op_test.test_dropout_is_test.zip
elementwise_linear_op_test.test.zip
elementwise_logical_ops_test.test_is_member_of.zip
elementwise_logical_ops_test.test_where.zip
elementwise_op_broadcast_test.test_broadcast_powt.zip
expand_op_test.test_expand_rand_shape.zip
fc_operator_test.test_fc.zip
filler_ops_test.test_diagonal_fill_op_float.zip
filler_ops_test.test_lengths_range_fill.zip
find_op_test.test_find.zip
flexible_top_k_test.test_flexible_top_k.zip
floor_op_test.test_floor.zip
gather_ops_test.test_batch_gather_ops.zip
gather_ops_test.test_gather_ops.zip
gather_ranges_op_test.test_gather_ranges.zip
gather_ranges_op_test.test_gather_ranges_split.zip
glu_op_test.test_glu_old.zip
group_norm_op_test.test_group_norm_2d.zip
gru_test.test_gru_unit_op.zip
hyperbolic_ops_test.test_cosh.zip
hyperbolic_ops_test.test_sinh.zip
hyperbolic_ops_test.test_tanh.zip
index_hash_ops_test.test_index_hash_ops.zip
instance_norm_test.test_instance_norm_reference_check.zip
integral_image_ops_test.test_integral_image_gradient_ops.zip
integral_image_ops_test.test_integral_image_ops.zip
jsd_ops_test.test_bernoulli_jsd.zip
layer_norm_op_test.test_layer_norm_grad_op.zip
learning_rate_adaption_op_test.test_learning_rate_adaption_op_normalization.zip
learning_rate_op_test.test_alter_learning_rate_op.zip
length_split_op_test.test_length_split_edge.zip
lengths_pad_op_test.test_lengths_pad.zip
lengths_tile_op_test.test_lengths_tile.zip
lengths_top_k_ops_test.test_lengths_top_k_op.zip
locally_connected_op_test.test_lc_2d.zip
loss_ops_test.test_averaged_loss.zip
margin_ranking_criterion_op_test.test_margin_ranking_criterion.zip
math_ops_test.test_sign.zip
matmul_op_test.test_batch_matmul.zip
matmul_op_test.test_matmul.zip
matmul_op_test.test_numpy_batch_matmul.zip
mean_op_test.test_mean.zip
merge_id_lists_op_test.test_merge_id_lists_op.zip
moments_op_test.test_moments.zip
momentum_sgd_test.test_momentum_sgd.zip
momentum_sgd_test.test_sparse_momentum_sgd.zip
negate_gradient_op_test.test_forward.zip
numpy_tile_op_test.test_numpy_tile.zip
one_hot_ops_test.test_batch_bucketized_one_hot.zip
one_hot_ops_test.test_batch_one_hot.zip
one_hot_ops_test.test_one_hot.zip
one_hot_ops_test.test_segment_one_hot.zip
onnx_while_test.test_onnx_while_fibb.zip
pack_ops_test.test_pack_with_max_length_ops.zip
pack_rnn_sequence_op_test.test_pack_rnn_seqence.zip
pack_rnn_sequence_op_test.test_unpack_rnn_seqence.zip
pad_test.test_crop.zip
piecewise_linear_transform_test.test_multi_predictions_params_from_arg.zip
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
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