Open min-jean-cho opened 3 months ago
@mengfei25 comments MTL linux UT test results. @daisyden double check the UT results
New test results on MTL. 40 failures, details in https://github.com/mengfei25/torch-xpu-ops/actions/runs/10232612902/job/28309971098 PYTORCH_TEST_WITH_SLOW=1 python test/test_indexing.py -k TestIndexingXPU.test_cuda_broadcast_index_use_deterministic_algorithms_xpu PYTORCH_TEST_WITH_SLOW=1 python test/test_indexing.py -k TestIndexingXPU.test_index_put_accumulate_duplicate_indices_xpu PYTORCH_TEST_WITH_SLOW=1 python test/test_indexing.py -k TestIndexingXPU.test_index_put_accumulate_expanded_values_xpu PYTORCH_TEST_WITH_SLOW=1 python test/test_indexing.py -k TestIndexingXPU.test_index_put_accumulate_large_tensor_xpu PYTORCH_TEST_WITH_SLOW=1 python test/test_indexing.py -k TestIndexingXPU.test_index_put_accumulate_non_contiguous_xpu PYTORCH_TEST_WITH_SLOW=1 python test/test_indexing.py -k TestIndexingXPU.test_index_put_src_datatype_xpu_bfloat16 PYTORCH_TEST_WITH_SLOW=1 python test/test_indexing.py -k TestIndexingXPU.test_index_put_src_datatype_xpu_bool PYTORCH_TEST_WITH_SLOW=1 python test/test_indexing.py -k TestIndexingXPU.test_index_put_src_datatype_xpu_complex128 PYTORCH_TEST_WITH_SLOW=1 python test/test_indexing.py -k TestIndexingXPU.test_index_put_src_datatype_xpu_complex64 PYTORCH_TEST_WITH_SLOW=1 python test/test_indexing.py -k TestIndexingXPU.test_index_put_src_datatype_xpu_float16 PYTORCH_TEST_WITH_SLOW=1 python test/test_indexing.py -k TestIndexingXPU.test_index_put_src_datatype_xpu_int64 PYTORCH_TEST_WITH_SLOW=1 python test/test_indexing.py -k TestIndexingXPU.test_take_along_dim_invalid_xpu_int64 PYTORCH_TEST_WITH_SLOW=1 python test/test_indexing.py -k TestIndexingXPU.test_take_along_dim_xpu_int64 PYTORCH_TEST_WITH_SLOW=1 python test/test_modules.py -k TestModuleXPU.test_grad_nn_ConvTranspose1d_xpu_float64 PYTORCH_TEST_WITH_SLOW=1 python test/test_modules.py -k TestModuleXPU.test_grad_nn_ConvTranspose2d_xpu_float64 PYTORCH_TEST_WITH_SLOW=1 python test/test_modules.py -k TestModuleXPU.test_grad_nn_ConvTranspose3d_xpu_float64 PYTORCH_TEST_WITH_SLOW=1 python test/test_modules.py -k TestModuleXPU.test_grad_nn_LazyConvTranspose1d_xpu_float64 PYTORCH_TEST_WITH_SLOW=1 python test/test_modules.py -k TestModuleXPU.test_grad_nn_LazyConvTranspose2d_xpu_float64 PYTORCH_TEST_WITH_SLOW=1 python test/test_modules.py -k TestModuleXPU.test_grad_nn_LazyConvTranspose3d_xpu_float64 PYTORCH_TEST_WITH_SLOW=1 python test/test_modules.py -k TestModuleXPU.test_gradgrad_nn_Conv1d_xpu_float64 PYTORCH_TEST_WITH_SLOW=1 python test/test_modules.py -k TestModuleXPU.test_gradgrad_nn_Conv2d_xpu_float64 PYTORCH_TEST_WITH_SLOW=1 python test/test_modules.py -k TestModuleXPU.test_gradgrad_nn_Conv3d_xpu_float64 PYTORCH_TEST_WITH_SLOW=1 python test/test_modules.py -k TestModuleXPU.test_gradgrad_nn_LazyConv1d_xpu_float64 PYTORCH_TEST_WITH_SLOW=1 python test/test_modules.py -k TestModuleXPU.test_gradgrad_nn_LazyConv2d_xpu_float64 PYTORCH_TEST_WITH_SLOW=1 python test/test_modules.py -k TestModuleXPU.test_gradgrad_nn_LazyConv3d_xpu_float64 PYTORCH_TEST_WITH_SLOW=1 python test/test_nn.py -k TestNNDeviceTypeXPU.test_grid_sample_large_xpu PYTORCH_TEST_WITH_SLOW=1 python test/test_ops.py -k TestCommonXPU.test_numpy_ref_nn_functional_conv_transpose1d_xpu_complex128 PYTORCH_TEST_WITH_SLOW=1 python test/test_ops.py -k TestCommonXPU.test_numpy_ref_nn_functional_conv_transpose1d_xpu_float64 PYTORCH_TEST_WITH_SLOW=1 python test/test_ops.py -k TestCommonXPU.test_python_refrefs_all_xpu_complex128 PYTORCH_TEST_WITH_SLOW=1 python test/test_ops.py -k TestCommonXPU.test_python_ref__refs_nn_functional_group_norm_xpu_float64 PYTORCH_TEST_WITH_SLOW=1 python test/test_ops.py -k TestCommonXPU.test_python_ref_executorrefs_all_executor_aten_xpu_complex128 PYTORCH_TEST_WITH_SLOW=1 python test/test_ops.py -k TestCommonXPU.test_python_ref_executorrefs_nn_functional_group_norm_executor_aten_xpu_float64 PYTORCH_TEST_WITH_SLOW=1 python test/test_ops.py -k TestCommonXPU.test_python_ref_torch_fallbackrefs_all_xpu_complex128 PYTORCH_TEST_WITH_SLOW=1 python test/xpu/extended/test_ops_xpu.py -k TestCommonXPU.test_compare_cpu_all_xpu_complex128 PYTORCH_TEST_WITH_SLOW=1 python test/xpu/extended/test_ops_xpu.py -k TestCommonXPU.test_compare_cpu_argmin_xpu_int16 PYTORCH_TEST_WITH_SLOW=1 python test/xpu/extended/test_ops_xpu.py -k TestCommonXPU.test_compare_cpu_argmin_xpu_int32 PYTORCH_TEST_WITH_SLOW=1 python test/xpu/extended/test_ops_xpu.py -k TestCommonXPU.test_compare_cpu_argmin_xpu_int64 PYTORCH_TEST_WITH_SLOW=1 python test/xpu/extended/test_ops_xpu.py -k TestCommonXPU.test_compare_cpu_argmin_xpu_int8 PYTORCH_TEST_WITH_SLOW=1 python test/xpu/extended/test_ops_xpu.py -k TestCommonXPU.test_compare_cpu_argmin_xpu_uint8 PYTORCH_TEST_WITH_SLOW=1 python test/xpu/test_gemm.py -k TestBasicGEMMXPU.test_addmv_xpu_float16
🐛 Describe the bug
XPU OP Examples 57 passed in 58.84s
XPU OP Extended UT 4 failed, 1233 passed, 309 skipped, 128 deselected, 14 xfailed in 186.95s (0:03:06)
3.1 XPU OP UT: run_test_with_only.py test_foreach_xpu.py: 437 passed, 40 skipped, 2986 deselected in 858.13s test_decomp_xpu.py: 12 passed, 8760 deselected in 115.86s (0:01:55)
3.2. XPU OP UT: run_test_with_skip.py test_binary_ufuncs_xpu.py: 1 failed, 11713 passed, 794 skipped, 306 deselected, 28 xfailed in 294.64s (0:04:54) test_scatter_gather_ops_xpu.py: 64 passed, 7 skipped, 2 deselected in 104.24s (0:01:44) test_autograd_fallback.py: 28 passed in 2.69s test_transformers_xpu.py: 62 passed, 343 skipped, 47 deselected in 10.50s test_complex_xpu.py: 11 passed, 4 deselected in 2.97s test_nn_xpu.py: 997 failed, 652 passed, 482 skipped, 43 deselected, 3 xfailed in 89.93s (0:01:29) test_sort_and_select_xpu.py: 91 passed, 7 skipped, 10 deselected in 13.96s nn\test_embedding_xpu.py: 71 passed, 56 deselected in 5.37s nn\test_pooling_xpu.py: 100 passed, 16 skipped, 9 deselected in 39.94s nn\test_dropout_xpu.py: 7 passed, 2 deselected in 3.94s test_indexing_xpu.py: 1 failed, 81 passed, 7 deselected in 5.42s test_tensor_creation_ops_xpu: 23 failed, 446 passed, 142 skipped, 9 deselected in 1157.33s (0:19:17) test_autocast_xpu.py: 4 passed, 1 deselected in 3.04s test_autograd_xpu.py: 1 failed, 468 passed, 2 skipped, 23 deselected, 1 xfailed in 19.76s test_reductions_xpu.py: 5 failed, 4248 passed, 153 skipped, 136 deselected, 61 xfailed in 128.33s (0:02:08) test_unary_ufuncs_xpu.py: 41 failed, 19739 passed, 543 skipped, 2750 deselected, 4 xfailed in 730.21s (0:12:10) test_masked_xpu.py: 50 passed, 58 skipped, 104 deselected in 23.76s test_view_ops_xpu.py: 306 passed, 133 skipped, 2 deselected in 28.92s test_shape_ops_xpu.py: 87 passed, 4 skipped, 2 deselected in 5.17s test_content_store_xpu.py: 4 skipped in 2.67s test_native_functions_xpu.py: 11 passed in 2.59s nn\test_init_xpu.py: 21 passed, 9 skipped in 2.87s test_namedtensor_xpu.py: 86 passed, 2 skipped in 2.86s nn\test_packed_sequence_xpu.py: 9 passed, 3 deselected in 2.68s nn\test_multihead_attention_xpu.py: 8 passed, 4 skipped, 7 deselected in 6.26s nn\test_lazy_modules_xpu.py: 58 passed in 3.01s test_matmul_cuda_xpu.py: 1 error in 2.72s nn\test_packed_sequence_xpu.py: 9 passed, 3 deselected in 2.68s test_comparison_utils_xpu.py: 5 passed in 2.61s
empty_cache
to release all unoccupied cached memory.Versions