openvino/tests/layer_tests/pytorch_tests
Maxim Vafin 4be6025fae
[PT FE] Fix segfault when prim::If can't be converted (#24914)
### Details:
- *When scripting upsample creates `prim::If` depending from input
shape, to determine which version of upsample to use: 1d, 2d or 3d. This
is not supported by openvino, but this PR fixes segfault that happen in
this case.*

### Tickets:
 - *#24270*
2024-06-10 11:35:58 +00:00
..
conftest.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
pytorch_layer_test_class.py Added quantized_decomposed quantization unit tests (#24388) 2024-05-23 10:15:11 +00:00
test_adaptive_avg_pool.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_adaptive_max_pool.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_add.py Quantization support for torch.compile (#23779) 2024-04-03 12:36:56 +00:00
test_addcmul.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_addmm.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_aliases.py [PT FE] Fix issue with aten.copy in FX graph (#23711) 2024-03-28 13:01:06 +00:00
test_all.py [PT FE] Support torch.any and torch.all on both FX and TS side (#24553) 2024-05-17 09:13:28 +00:00
test_aminmax.py [PT FE] Support aten::aminmax for pytorch models (#23879) 2024-04-15 09:46:05 +00:00
test_and.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_any.py [PT FE] Support torch.any and torch.all on both FX and TS side (#24553) 2024-05-17 09:13:28 +00:00
test_arange.py Fixed bug with inlined inputs (#24448) 2024-05-22 07:29:36 +00:00
test_argmax_argmin.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_argsort.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_as_strided.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_batch_norm.py Quantization support for torch.compile (#23779) 2024-04-03 12:36:56 +00:00
test_bitwise_ops.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_bool.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_broadcast_tensors.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_bucketize.py Support aten::bucketize for pytorch models #23328 (#23527) 2024-03-25 10:03:33 +00:00
test_cat.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_celu.py [PT FE] Support elu, celu, mish, shuffle ops (#23332) 2024-03-13 21:41:08 +00:00
test_chunk.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_clamp.py [PT FE] Support inplace aten::sqrt, aten::rsqrt, aten::clamp_{min, max} (#24354) 2024-05-20 07:05:23 +00:00
test_clone.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_comparision.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_constant_pad_nd.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_conv_transposend.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_convnd.py [PT FE] Resolve issue with If test (#23898) 2024-04-08 15:04:12 +00:00
test_convolution.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_convolution_mode.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_copy.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_cross.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_cumsum.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_deformable_convolution.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_derive_index_range_length.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_device.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_dict.py [CI] [GHA] Investigate and mitigate Mac workflows (#24631) 2024-05-23 19:58:53 +00:00
test_distance.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_div.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_dot.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_einsum.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_elu.py [PT FE] Support elu, celu, mish, shuffle ops (#23332) 2024-03-13 21:41:08 +00:00
test_embedding.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_embedding_bag.py [Opset15] Implementation for EmbeddingBagPacked and EmbeddingBagOffsets ops (#24541) 2024-05-21 09:07:14 +00:00
test_empty.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_eq.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_expand.py Unit test for dynamic expand fixed (#24684) 2024-05-25 16:37:08 +00:00
test_eye.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_fake_quantize.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_flatten.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_flip.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_floor_divide.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_fmod.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_fp16.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_full.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_gather.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_gcd.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_gelu.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_getitem.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_glu.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_grid_sampler.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_group_norm.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_hadsigmoid.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_hann_window.py [PT FE]: support aten::hann_window (#24824) 2024-06-10 07:35:59 +00:00
test_hardtanh.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_if.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_im2col.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_index.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_index_add.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_index_copy_.py [PT TE] Support aten::index_copy_ operation (#23349) 2024-04-03 05:56:57 +00:00
test_index_put_.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_index_select.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_instance_norm.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_inverse.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_is_nonzero.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_isfinite.py [PT FE] Support torch.any and torch.all on both FX and TS side (#24553) 2024-05-17 09:13:28 +00:00
test_isinf.py [PT FE] Support torch.any and torch.all on both FX and TS side (#24553) 2024-05-17 09:13:28 +00:00
test_isnan.py [PT FE] Support torch.any and torch.all on both FX and TS side (#24553) 2024-05-17 09:13:28 +00:00
test_item.py [PT FE] Resolve i64 usage in frontend (#23518) 2024-03-26 15:57:00 +00:00
test_leaky_relu.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_len.py [PT FE] Resolve i64 usage in frontend (#23518) 2024-03-26 15:57:00 +00:00
test_linear.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_linspace.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_listunpack.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_log_softmax.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_logical_ops.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_loop.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_lstm.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_masked_fill.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_masked_scatter.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_matmul.py Fix the aten::mv for pytorch models #22073 (#22677) 2024-03-25 05:55:12 +00:00
test_mean.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_min_max.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_mm.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_mul.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_multinomial.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_narrow.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_native_multi_head_attention.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_nms.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_nonzero.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_norm.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_numel.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_one_hot.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_or.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_outer.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_pad.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_permute.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_pixel_shuffle.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_pooling.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_pow.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_prelu.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_prod.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_pythonop.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_quantize.py Added quantized_decomposed quantization unit tests (#24388) 2024-05-23 10:15:11 +00:00
test_quantized_add.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_quantized_add_relu.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_quantized_cat.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_quantized_convnd.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_quantized_hardswish.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_quantized_linear.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_quantized_mul.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_rand.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_remainder.py Quantization support for torch.compile (#23779) 2024-04-03 12:36:56 +00:00
test_repeat.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_repeat_interleave.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_reshape.py Torchfx dynamic shapes initial (CVS-139182) (#24578) 2024-05-22 14:04:16 +00:00
test_reshape_as.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_resolve_conj_neg.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_rfftn_complex_transforms.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_roi_align.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_roll.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_round.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_rsub.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_scaled_dot_product_attention.py [OVC] Allow models obtained from torch.export (#23815) 2024-04-03 05:56:46 +00:00
test_scatter.py [PT FE] Fix sporadic fail in scatter_reduce test (#23820) 2024-04-02 21:17:45 +00:00
test_select.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_select_scatter.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_set_item.py [PT FE] Support negative indices for aten::set_item (#24027) 2024-04-25 11:24:45 +00:00
test_shape_as_tensor.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_sign.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_size.py [PT FE] Resolve i64 usage in frontend (#23518) 2024-03-26 15:57:00 +00:00
test_slice.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_slice_scatter.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_softmax.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_softplus.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_sort.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_split.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_square.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_squeeze.py [Op] Squeeze update - no throw on non-squeezable dims (#24715) 2024-06-03 09:59:07 +00:00
test_stack.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_strided_const.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_sub.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_sum.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_take_along_dim.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_tensor_split.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_tile.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_to.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_topk.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_transpose.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_trilu.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_tuple_construct.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_type_as.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_unary_ops.py [PT FE] Support inplace aten::sqrt, aten::rsqrt, aten::clamp_{min, max} (#24354) 2024-05-20 07:05:23 +00:00
test_unbind.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_unflatten.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_unfold.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00
test_unique.py [PT FE] Support aten::_unique2 op. (#23506) 2024-03-27 16:33:36 +00:00
test_unsqueeze.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_upsample.py [PT FE] Fix segfault when prim::If can't be converted (#24914) 2024-06-10 11:35:58 +00:00
test_var_mean.py Torch Compile - New Op Support (#23310) 2024-03-21 11:13:09 +00:00
test_view.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_where.py copyright year update (#23370) 2024-03-14 09:37:02 +00:00
test_xor.py [PT FE] Run GPU with FP32 hint when layer test is FP32 (#23511) 2024-04-24 12:44:43 +00:00