Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added hooks to avoid fp64 input on ARC #843

Merged
merged 2 commits into from
Aug 30, 2024
Merged

Conversation

daisyden
Copy link
Contributor

Add hooks to avoid the sample inputs on ARC.

daisyden and others added 2 commits August 29, 2024 15:11
Add hook to avoid the case failures on ARC by avoid creating float64
input:
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_cat_xpu_bfloat16 can
pass with hook to reference_inputs_cat()
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_index_put_xpu_bfloat16
with hook to index_variable()

test_ops_xpu.py::TestCommonXPU::test_compare_cpu_log_softmax_with_dtype_xpu_bfloat16
with hook to sample_inputs_softmax_variant()

---------

Co-authored-by: Zhong, Ruijie <[email protected]>
)

To avoid the following issues on ARC:

FAILED
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_log_softmax_with_dtype_xpu_bfloat16
- RuntimeError: Kernel is incompatible with all devices in devs
--
FAILED
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_log_softmax_with_dtype_xpu_bool
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_log_softmax_with_dtype_xpu_complex64
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_log_softmax_with_dtype_xpu_float16
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_log_softmax_with_dtype_xpu_float32
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_log_softmax_with_dtype_xpu_int16
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_log_softmax_with_dtype_xpu_int32
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_log_softmax_with_dtype_xpu_int64
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_log_softmax_with_dtype_xpu_int8
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_log_softmax_with_dtype_xpu_uint8
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_softmax_with_dtype_xpu_bfloat16
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_softmax_with_dtype_xpu_bool
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_softmax_with_dtype_xpu_complex64
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_softmax_with_dtype_xpu_float16
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_softmax_with_dtype_xpu_float32
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_softmax_with_dtype_xpu_int16
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_softmax_with_dtype_xpu_int32
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_softmax_with_dtype_xpu_int64
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_softmax_with_dtype_xpu_int8
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCommonXPU::test_compare_cpu_softmax_with_dtype_xpu_uint8
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCommonXPU::test_non_standard_bool_values_log_softmax_with_dtype_xpu_bool
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCommonXPU::test_non_standard_bool_values_softmax_with_dtype_xpu_bool
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCommonXPU::test_non_standard_bool_values_zeros_like_xpu_bool
- RuntimeError: Required aspect fp64 is not supported on the device
FAILED
test_ops_xpu.py::TestCompositeComplianceXPU::test_backward_log_softmax_with_dtype_xpu_float32
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCompositeComplianceXPU::test_backward_softmax_with_dtype_xpu_float32
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCompositeComplianceXPU::test_forward_ad_log_softmax_with_dtype_xpu_float32
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCompositeComplianceXPU::test_forward_ad_softmax_with_dtype_xpu_float32
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCompositeComplianceXPU::test_operator_log_softmax_with_dtype_xpu_float32
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCompositeComplianceXPU::test_operator_softmax_with_dtype_xpu_float32
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCompositeComplianceXPU::test_operator_zeros_like_xpu_float32
- RuntimeError: Required aspect fp64 is not supported on the device
FAILED
test_ops_xpu.py::TestCompositeComplianceXPU::test_view_replay_log_softmax_with_dtype_xpu_float32
- RuntimeError: Kernel is incompatible with all devices in devs
FAILED
test_ops_xpu.py::TestCompositeComplianceXPU::test_view_replay_softmax_with_dtype_xpu_float32
- RuntimeError: Kernel is incompatible with all devices in devs

Co-authored-by: Zhong, Ruijie <[email protected]>
@daisyden daisyden requested review from yuchengliu1, fengyuan14 and xytintel and removed request for yuchengliu1 August 29, 2024 07:19
@fengyuan14 fengyuan14 merged commit f8a395e into release/2.5 Aug 30, 2024
3 checks passed
@fengyuan14 fengyuan14 deleted the daisyden/fp64_hooks branch August 30, 2024 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants