intel / torch-xpu-ops

Apache License 2.0
13 stars 7 forks source link

Sigmoid op didn't be supported with complex32 which didn't align with CUDA behavior. #435

Open PenghuiCheng opened 2 weeks ago

PenghuiCheng commented 2 weeks ago

🐛 Describe the bug

log: RuntimeError: "sigmoid_xpu" not implemented for 'ComplexHalf' cases: TestCommonXPU.test_complex_half_reference_testing_sigmoid_xpu_complex32 TestCommonXPU.test_complex_half_reference_testing_sigmoid_xpu_complex32 TestCommonXPU.test_dtypes_sigmoid_xpu TestCommonXPU.test_python_refrefs_sigmoid_xpu_complex32 TestCommonXPU.test_python_ref_errorsrefs_where_xpu TestCommonXPU.test_python_ref_executor__refs_sigmoid_executor_aten_xpu_complex32 TestCommonXPU.test_python_ref_torch_fallback__refs_sigmoid_xpu_complex32

Versions

latest version

fengyuan14 commented 1 week ago

https://github.com/intel/torch-xpu-ops/pull/429

fengyuan14 commented 1 week ago

Please verify, the issue is fixed. And cases are retrieved.