Repository navigation
Description
Summary
XPU operator dtype support does not align with CUDA. Multiple ops (addmm, addmv, baddbmm, histogram, mv, conv variants, einsum, mm, embedding_bag, linear, matmul, tensordot, bmm, bilinear, linalg_multi_dot, addbmm) fail test_dtypes, test_noncontiguous_samples, test_numpy_ref, and test_multiple_devices checks because XPU does not support the same set of dtypes (e.g. int64, complex32) as CUDA.
Type
- Category: feature-gap
- Platform: xpu
- Related Components: addmm, addmv, baddbmm, histogram, histogramdd, mv, nn.functional.conv1d, nn.functional.conv2d, nn.functional.conv3d, nn.functional.conv_transpose1d, einsum, mm, nn.functional.embedding_bag, nn.functional.linear, matmul, tensordot, bmm, addbmm, nn.functional.bilinear, linalg.multi_dot, true_divide
Objective
Align XPU supported dtypes with CUDA for all listed operators so that test_dtypes, test_noncontiguous_samples, test_numpy_ref, and test_multiple_devices tests pass on XPU.
Current Status
Context
Tests are in third_party/torch-xpu-ops/test/xpu/test_ops_xpu.py (TestCommonXPU). Some cases are struck through in the issue body indicating they may already be resolved. Labels include duplicate, skipped, ut_upstream, agent:active.
Root Cause Analysis
XPU kernels for multiple operators (addmm, addmv, baddbmm, histogram, mv, conv variants, einsum, mm, embedding_bag, linear, matmul, tensordot, bmm, addbmm, bilinear, linalg.multi_dot) do not dispatch on the same set of dtypes as their CUDA counterparts. This causes test_dtypes and related tests to fail because XPU is missing support for types like int64 and complex32.
Proposed Fix Strategy
Each operator's XPU kernel (in src/ATen/native/xpu/sycl/) needs its AT_DISPATCH macro updated to include the missing dtypes, and the underlying SYCL kernels need to handle those types. This is operator-by-operator work across 20+ ops.
Target Repository
torch-xpu-ops
Agent Assessment
Verdict: NEEDS_HUMAN
Why this needs human intervention:
Feature-gap / umbrella enablement issue requiring dtype support additions across 20+ operators — not a single fixable bug.
Root Cause: XPU kernels for multiple operators (addmm, addmv, baddbmm, histogram, mv, conv variants, einsum, mm, embedding_bag, linear, matmul, tensordot, bmm, addbmm, bilinear, linalg.multi_dot) do not dispatch on the same set of dtypes as their CUDA counterparts. This causes test_dtypes and related tests to fail because XPU is missing support for types like int64 and complex32.
Proposed Fix Strategy: Each operator's XPU kernel (in src/ATen/native/xpu/sycl/) needs its AT_DISPATCH macro updated to include the missing dtypes, and the underlying SYCL kernels need to handle those types. This is operator-by-operator work across 20+ ops.
Action Items
-
🔍 Issue formatted (Discovery Agent)
Discovery log
[2026-05-14 03:42:03]
Summary: XPU operator dtype support does not align with CUDA. Multiple ops (addmm, addmv, baddbmm, histogram, mv, conv variants, einsum, mm, embedding_bag, linear, matmul, tensordot, bmm, bilinear, linalg_multi_dot, addbmm) fail test_dtypes, test_noncontiguous_samples, test_numpy_ref, and test_multiple_devices checks because XPU does not support the same set of dtypes (e.g. int64, complex32) as CUDA.
Failed tests: N/A
Dependency: N/A
Commit scope: N/A
Tokens: model: claude-sonnet-4 | tokens: 40.6K | in: 4 | out: 474 | cache_read: 19.3K | cache_write: 20.8K | cost: $0.0908 -
🧠 Root cause identified (Triage Agent)
Triage log
[2026-05-14 03:42:39]
Verdict: NEEDS_HUMAN
Reason: Feature-gap / umbrella enablement issue requiring dtype support additions across 20+ operators — not a single fixable bug.Target Repository:
torch-xpu-opsRoot Cause: XPU kernels for multiple operators (addmm, addmv, baddbmm, histogram, mv, conv variants, einsum, mm, embedding_bag, linear, matmul, tensordot, bmm, addbmm, bilinear, linalg.multi_dot) do not dispatch on the same set of dtypes as their CUDA counterparts. This causes test_dtypes and related tests to fail because XPU is missing support for types like int64 and complex32.
Fix Strategy: Each operator's XPU kernel (in src/ATen/native/xpu/sycl/) needs its AT_DISPATCH macro updated to include the missing dtypes, and the underlying SYCL kernels need to handle those types. This is operator-by-operator work across 20+ ops.
Tokens: model: claude-sonnet-4 | tokens: 38.9K | in: 4 | out: 547 | cache_read: 35.0K | cache_write: 3.4K | cost: $0.0313
Log:agent-issue-2253-triaging-20260514-034218.log -
🔧 Fix implemented (Fix Agent)
Fix log
-
✅ Fix verified locally
-
📋 PR proposed
-
👀 Human review
-
🎉 PR merged
Original Issue
Original issue body
🐛 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
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_einsum_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_inner_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_python_ref__refs_true_divide_xpu_complex32
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_linalg_lu_factor_ex_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_mm_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_python_ref_executor__refs_true_divide_executor_aten_xpu_complex32
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_nn_functional_embedding_bag_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_nn_functional_linear_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_tensordot_xpu
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_noncontiguous_samples_matmul_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_noncontiguous_samples_mm_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_noncontiguous_samples_mv_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_noncontiguous_samples_nn_functional_bilinear_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_noncontiguous_samples_nn_functional_conv1d_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_noncontiguous_samples_nn_functional_conv2d_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_noncontiguous_samples_nn_functional_conv3d_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_noncontiguous_samples_nn_functional_conv_transpose1d_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_noncontiguous_samples_nn_functional_conv_transpose2d_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_noncontiguous_samples_nn_functional_conv_transpose3d_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_noncontiguous_samples_nn_functional_linear_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_noncontiguous_samples_tensordot_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_numpy_ref_addbmm_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_multiple_devices_addbmm_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_multiple_devices_addmm_decomposed_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_multiple_devices_addmm_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_multiple_devices_addmv_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_multiple_devices_baddbmm_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_multiple_devices_bmm_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_multiple_devices_linalg_multi_dot_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_multiple_devices_mm_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_multiple_devices_mv_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_multiple_devices_nn_functional_bilinear_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_multiple_devices_nn_functional_conv1d_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_multiple_devices_nn_functional_conv2d_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_multiple_devices_nn_functional_conv3d_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_multiple_devices_nn_functional_conv_transpose1d_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_multiple_devices_nn_functional_conv_transpose2d_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_multiple_devices_nn_functional_conv_transpose3d_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_multiple_devices_nn_functional_linear_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_multiple_devices_tensordot_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_noncontiguous_samples___rmatmul___xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_noncontiguous_samples_addbmm_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_noncontiguous_samples_addmm_decomposed_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_noncontiguous_samples_addmm_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_noncontiguous_samples_addmv_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_noncontiguous_samples_baddbmm_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_noncontiguous_samples_bmm_xpu_int64
op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_noncontiguous_samples_einsum_xpu_int64
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
Activity
daisyden commentedon Nov 19, 2025
duplicated with #2289
daisyden commentedon Nov 24, 2025
Aligned with CUDA in commit pytorch/pytorch@6874f0a, but need a review of @CuiYifeng and @EikanWang
mengfei25 commentedon Dec 4, 2025
✅ 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 Passed in nightly testing
mengfei25 commentedon Dec 4, 2025
✅ 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 Passed in nightly testing
2 remaining items
Stonepia commentedon May 14, 2026
❌ Agent error in
code_fixstep:Traceback
Stonepia commentedon May 14, 2026
❌ Agent error in
code_fixstep:Traceback
Stonepia commentedon May 14, 2026
❌ Agent error in
code_fixstep:Traceback
daisyden commentedon Jun 10, 2026
The upstream PyTorch PR (pytorch/pytorch#176688) is open and expected to resolve this dependency. This issue is labeled as a community component dependency.
github-actions commentedon Jun 23, 2026
✅ op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_python_ref_executor__refs_true_divide_executor_aten_xpu_complex32 Passed in nightly testing
github-actions commentedon Jul 22, 2026
✅ 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_einsum_xpu op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_mm_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_embedding_bag_xpu op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_dtypes_nn_functional_linear_xpu Passed in nightly testing
libohao1201 commentedon Aug 20, 2026
The following XPU UT case(s) tracked by this issue have been skipped in #5043 until a fix is available:
test_dtypes_addmm_decomposed_xputest_dtypes_addmm_xputest_dtypes_addmv_xputest_dtypes_baddbmm_xputest_dtypes_histogram_xputest_dtypes_histogramdd_xputest_dtypes_mv_xputest_dtypes_nn_functional_conv1d_xputest_dtypes_nn_functional_conv2d_xputest_dtypes_nn_functional_conv3d_xpugithub-actions commentedon Aug 27, 2026
✅ op_ut,third_party.torch-xpu-ops.test.xpu.test_ops_xpu.TestCommonXPU,test_python_ref__refs_true_divide_xpu_complex32 Passed in nightly testing on BMG
daisyden commentedon Nov 11, 2026
label-issue: #2253
Root cause: XPU does not register the same dtype set as CUDA for a family of linear-algebra / histogram / embedding ops (addmm, addmv, baddbmm, histogram, histogramdd, mv, conv*, einsum, mm, embedding_bag, linear, matmul, tensordot, bmm, addbmm, bilinear, linalg.multi_dot, true_divide).
test_dtypesfails with "The supported dtypes for on device type xpu are incorrect!";test_noncontiguous_samples/test_numpy_ref/test_multiple_devicesfail because int64 (and complex32) paths are missing. This is a dtype-coverage feature gap, not a numeric bug.Umbrella issue spanning many ops — strong need_split candidate (one tracking issue per op family, or at least separate histogram vs matmul-family).
Analyzed representative case: test/xpu/test_ops_xpu.py::TestCommonXPU::test_dtypes_histogram_xpu (first non-struck case; one group).
typeBugtesttest: utskipped+ut_upstreamlabels kept.modulepriorityHighdtypedtype: int64Functionalitydependency component: community(existing, kept)ut_upstream.need_split,agent:needs-human(existing)duplicatelabel has no linked target.Existing human labels preserved:
duplicate,skipped,dependency component: community,ut_upstream,agent:needs-human.Representative cases (subset; see extract.json):
Warning
apply_labels.py flagged items that need a human:
(existing, kept)', 'need_split,agent:needs-human(existing)']Applied to this issue. Generated by a local
label-issuerun.