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

enable hook to avoid fp64 issues on ARC for softmax and zeros_like #840

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

daisyden
Copy link
Contributor

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

@daisyden daisyden added this pull request to the merge queue Aug 29, 2024
Merged via the queue into main with commit fad9ba9 Aug 29, 2024
3 checks passed
@daisyden daisyden deleted the daisyden/softmax_zeros_like branch August 29, 2024 07:07
RUIJIEZHONG66166 added a commit that referenced this pull request Aug 29, 2024
)

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]>
ZhiweiYan-96 pushed a commit that referenced this pull request Aug 30, 2024
)

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]>
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