-
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
Added hooks to avoid fp64 input on ARC #843
Merged
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
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
requested review from
yuchengliu1,
fengyuan14 and
xytintel
and removed request for
yuchengliu1
August 29, 2024 07:19
xytintel
approved these changes
Aug 29, 2024
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.
Add hooks to avoid the sample inputs on ARC.