Skip to content

the supported dtypes are not align with cuda #2253

@daisyden

Description

@daisyden

🐛 Describe the bug

Cases:
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_addmm_decomposed_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_addmm_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_addmv_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_baddbmm_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_histogram_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_histogramdd_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_mv_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_nn_functional_conv1d_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_nn_functional_conv2d_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_nn_functional_conv3d_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_nn_functional_conv_transpose1d_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_nn_functional_conv_transpose2d_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_nn_functional_conv_transpose3d_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_nn_functional_softsign_xpu

Reproduce command:

cd pytorch; pip install -r .ci/docker/requirements-ci.txt; cd third_party/torch-xpu-ops/xpu; PYTORCH_TEST_WITH_SLOW=1 pytest -v test_ops_xpu.py::TestCommonXPU -k test_dtypes_addmm_decomposed_xpu

| op_ut | third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU | test_dtypes_addmm_decomposed_xpu | failed | AssertionError: The supported dtypes for addmm on device type xpu are incorrect! ; Exception: The supported dtypes for addmm on device type xpu are incorrect! | XML |
| op_ut | third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU | test_dtypes_addmm_xpu | failed | AssertionError: The supported dtypes for addmm on device type xpu are incorrect! ; Exception: The supported dtypes for addmm on device type xpu are incorrect! | XML |
| op_ut | third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU | test_dtypes_addmv_xpu | failed | AssertionError: The supported dtypes for addmv on device type xpu are incorrect! ; Exception: The supported dtypes for addmv on device type xpu are incorrect! | XML |
| op_ut | third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU | test_dtypes_baddbmm_xpu | failed | AssertionError: The supported dtypes for baddbmm on device type xpu are incorrect! ; Exception: The supported dtypes for baddbmm on device type xpu are incorrect! | XML |
| op_ut | third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU | test_dtypes_histogram_xpu | failed | AssertionError: The supported dtypes for histogram on device type xpu are incorrect! ; Exception: The supported dtypes for histogram on device type xpu are incorrect! | XML |
| op_ut | third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU | test_dtypes_histogramdd_xpu | failed | AssertionError: The supported dtypes for histogramdd on device type xpu are incorrect! ; Exception: The supported dtypes for histogramdd on device type xpu are incorrect! | XML |
| op_ut | third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU | test_dtypes_mv_xpu | failed | AssertionError: The supported dtypes for mv on device type xpu are incorrect! ; Exception: The supported dtypes for mv on device type xpu are incorrect! | XML |
| op_ut | third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU | test_dtypes_nn_functional_conv1d_xpu | failed | AssertionError: The supported dtypes for nn.functional.conv1d on device type xpu are incorrect! ; Exception: The supported dtypes for nn.functional.conv1d on device type xpu are incorrect! | XML |
| op_ut | third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU | test_dtypes_nn_functional_conv2d_xpu | failed | AssertionError: The supported dtypes for nn.functional.conv2d on device type xpu are incorrect! ; Exception: The supported dtypes for nn.functional.conv2d on device type xpu are incorrect! | XML |
| op_ut | third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU | test_dtypes_nn_functional_conv3d_xpu | failed | AssertionError: The supported dtypes for nn.functional.conv3d on device type xpu are incorrect! ; Exception: The supported dtypes for nn.functional.conv3d on device type xpu are incorrect! | XML |
| op_ut | third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU | test_dtypes_nn_functional_conv_transpose1d_xpu | failed | AssertionError: The supported dtypes for nn.functional.conv_transpose1d on device type xpu are incorrect! ; Exception: The supported dtypes for nn.functional.conv_transpose1d on device type xpu are incorrect! | XML |
| op_ut | third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU | test_dtypes_nn_functional_conv_transpose2d_xpu | failed | AssertionError: The supported dtypes for nn.functional.conv_transpose2d on device type xpu are incorrect! ; Exception: The supported dtypes for nn.functional.conv_transpose2d on device type xpu are incorrect! | XML |
| op_ut | third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU | test_dtypes_nn_functional_conv_transpose3d_xpu | failed | AssertionError: The supported dtypes for nn.functional.conv_transpose3d on device type xpu are incorrect! ; Exception: The supported dtypes for nn.functional.conv_transpose3d on device type xpu are incorrect! | XML |
| op_ut | third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU | test_dtypes_nn_functional_softsign_xpu | failed | AssertionError: The supported dtypes for nn.functional.softsign on device type xpu are incorrect! ; Exception: The supported dtypes for nn.functional.softsign on device type xpu are incorrect! | XML |

Versions

main

Metadata

Metadata

Assignees

Labels

duplicateThis issue or pull request already existsskippedUsed for temp UT failure to parallel fixut_upstream

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions