From fd09fa47e809343fb1723e07e30525a108fcb6a3 Mon Sep 17 00:00:00 2001 From: "Cheng, Penghui" Date: Tue, 24 Dec 2024 22:39:49 -0800 Subject: [PATCH 1/5] Skip float8 dtype UT cases Signed-off-by: Cheng, Penghui --- test/xpu/skip_list_common.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/xpu/skip_list_common.py b/test/xpu/skip_list_common.py index 52a93d91b..3d520415f 100644 --- a/test/xpu/skip_list_common.py +++ b/test/xpu/skip_list_common.py @@ -2,6 +2,10 @@ "test_ops_xpu.py": ( # Skip list of base line + # XPU implementation doesn't claimn FP8 now + # https://github.com/intel/torch-xpu-ops/issues/461 + "float8", + # To be removed from this file. # CUDA and XPU both XFAIL now. "test_out_narrow_copy_xpu_float32", From 0788347c35a5d8b07956832b21e4031d34e7ecb2 Mon Sep 17 00:00:00 2001 From: "Cheng, Penghui" Date: Wed, 25 Dec 2024 18:24:09 -0800 Subject: [PATCH 2/5] Workaround:skip UT cases for random issue Signed-off-by: Cheng, Penghui --- test/xpu/skip_list_common.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/xpu/skip_list_common.py b/test/xpu/skip_list_common.py index 3d520415f..0eb1d3047 100644 --- a/test/xpu/skip_list_common.py +++ b/test/xpu/skip_list_common.py @@ -6,6 +6,15 @@ # https://github.com/intel/torch-xpu-ops/issues/461 "float8", + # workarounds for the following tests + "test_python_ref__refs_exp_xpu_complex128”, + "test_python_ref__refs_sigmoid_xpu_complex128", + "test_python_ref_executor__refs_log2_executor_aten_xpu_complex128", + "test_python_ref_executor__refs_exp_executor_aten_xpu_complex128", + "test_python_ref_torch_fallback__refs_log2_xpu_complex128", + "test_python_ref_torch_fallback__refs_log10_xpu_complex128", + "test_python_ref_torch_fallback__refs_sigmoid_xpu_complex128", + # To be removed from this file. # CUDA and XPU both XFAIL now. "test_out_narrow_copy_xpu_float32", From 7b769eaf9212ba82738e4068f519fb87ef92d54a Mon Sep 17 00:00:00 2001 From: "Cheng, Penghui" Date: Wed, 25 Dec 2024 19:03:59 -0800 Subject: [PATCH 3/5] update comments Signed-off-by: Cheng, Penghui --- test/xpu/skip_list_common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/xpu/skip_list_common.py b/test/xpu/skip_list_common.py index 0eb1d3047..32d47104e 100644 --- a/test/xpu/skip_list_common.py +++ b/test/xpu/skip_list_common.py @@ -7,6 +7,7 @@ "float8", # workarounds for the following tests + # https://github.com/intel/torch-xpu-ops/issues/1214 "test_python_ref__refs_exp_xpu_complex128”, "test_python_ref__refs_sigmoid_xpu_complex128", "test_python_ref_executor__refs_log2_executor_aten_xpu_complex128", From fb7929bdcf86b198f8f3f3a4cf16827dbd0fa229 Mon Sep 17 00:00:00 2001 From: "Deng, Daisy" Date: Thu, 26 Dec 2024 05:28:48 +0000 Subject: [PATCH 4/5] fix a typo --- test/xpu/skip_list_common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/xpu/skip_list_common.py b/test/xpu/skip_list_common.py index 32d47104e..0e4ea1520 100644 --- a/test/xpu/skip_list_common.py +++ b/test/xpu/skip_list_common.py @@ -8,7 +8,7 @@ # workarounds for the following tests # https://github.com/intel/torch-xpu-ops/issues/1214 - "test_python_ref__refs_exp_xpu_complex128”, + "test_python_ref__refs_exp_xpu_complex128", "test_python_ref__refs_sigmoid_xpu_complex128", "test_python_ref_executor__refs_log2_executor_aten_xpu_complex128", "test_python_ref_executor__refs_exp_executor_aten_xpu_complex128", From 1b68aa39a85ba0165e99a66fa04e77ee341e8a89 Mon Sep 17 00:00:00 2001 From: "Deng, Daisy" Date: Thu, 26 Dec 2024 06:23:09 +0000 Subject: [PATCH 5/5] skip one more random failed case test_python_ref_executor__refs_log10_executor_aten_xpu_complex128 --- test/xpu/skip_list_common.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/xpu/skip_list_common.py b/test/xpu/skip_list_common.py index 0e4ea1520..86f725744 100644 --- a/test/xpu/skip_list_common.py +++ b/test/xpu/skip_list_common.py @@ -15,6 +15,7 @@ "test_python_ref_torch_fallback__refs_log2_xpu_complex128", "test_python_ref_torch_fallback__refs_log10_xpu_complex128", "test_python_ref_torch_fallback__refs_sigmoid_xpu_complex128", + "test_python_ref_executor__refs_log10_executor_aten_xpu_complex128", # To be removed from this file. # CUDA and XPU both XFAIL now.