Skip to content

Commit

Permalink
skip failed cases introduced by new pytorch, #issue 746 (#747)
Browse files Browse the repository at this point in the history
skipped 4 cases in #746

---------

Co-authored-by: Huaiyu, Zheng <[email protected]>
  • Loading branch information
daisyden and huaiyuzh authored Aug 12, 2024
1 parent 1bb0a1e commit 8238f87
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions test/xpu/run_test_with_skip.py
Original file line number Diff line number Diff line change
Expand Up @@ -1172,6 +1172,8 @@ def launch_test(test_case, skip_list=None, exe_list=None):
"test_to_nn_TransformerEncoder_eval_mode_swap_True_set_grad_True_xpu_float32",
"test_to_nn_TransformerEncoder_train_mode_swap_True_set_grad_True_xpu_float32",
"test_to_nn_Transformer_swap_True_set_grad_True_xpu_float32",
#issue 746, adjust tolerence
"test_non_contiguous_tensors_nn_Conv3d_xpu_float32",
)
res += launch_test("test_modules_xpu.py", skip_list)

Expand Down Expand Up @@ -2911,9 +2913,13 @@ def launch_test(test_case, skip_list=None, exe_list=None):
res += launch_test("nn/test_convolution_xpu.py", skip_list)

# test_dynamic_shapes


res += launch_test("test_dynamic_shapes_xpu.py")
skip_list = (
# issue 746, new ut failures introduced by new pytorch
"test_method_fn_add_first_type_int_second_type_float",
"test_method_fn_mul_first_type_int_second_type_float",
"test_method_fn_sub_first_type_int_second_type_float",
)
res += launch_test("test_dynamic_shapes_xpu.py", skip_list)

# test_load_state_dict

Expand Down

0 comments on commit 8238f87

Please sign in to comment.