Open daisyden opened 5 months ago
@daisyden @huaiyuzh please refresh the status of this triage issue
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_div_trunc_rounding_xpu_float16 PASSED test_ops_xpu.py::TestCommonXPU::test_compare_cpu_index_put_xpu_bool PASSED other issues are still there
For 4, cuda got the similar issue on test_compare_cpu_pow_cuda_complex64
test_compare_cpu_mul_cuda_complex64
test_compare_cpu_log_cuda_complex64 passed.
2 and 3 also exists on cuda.
For 1, PYTORCH_TEST_WITH_SLOW=1 pytest -v test_ops_xpu.py -k test_compare_cpu_tanh_xpu_complex64
When input is -inf+nanj, xpu tanh output is not aligned to cuda and xpu.
The following is cuda output
According to Coliru C++ behavior should be:
and seems sycl compiler also has the same behavior
TBD:
🐛 Describe the bug
I extended the fine-grained test to run all the xpu support ops and dtypes with test_compare_cpu() test. Please see branch daisyden/fin_grain. To run it with command:
I got the following failures in the end.
With analysis, we could have several issues:
Versions
myenv.log