-
Notifications
You must be signed in to change notification settings - Fork 30
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
daisyden
requested review from
fengyuan14,
PenghuiCheng,
xytintel and
yuchengliu1
August 28, 2024 15:16
xytintel
approved these changes
Aug 29, 2024
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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