Skip to content

[upstream #2720] [upstream_ut] RuntimeError: false INTERNAL ASSERT FAILED at "/pytorch/aten/src/ATen/native/DispatchStub.cpp":275 - #26

Draft
Stonepia wants to merge 1 commit into
mainfrom
agent/issue-180
Draft

[upstream #2720] [upstream_ut] RuntimeError: false INTERNAL ASSERT FAILED at "/pytorch/aten/src/ATen/native/DispatchStub.cpp":275#26
Stonepia wants to merge 1 commit into
mainfrom
agent/issue-180

Conversation

@Stonepia

Copy link
Copy Markdown
Collaborator

[upstream pytorch#2720] [upstream_ut] RuntimeError: false INTERNAL ASSERT FAILED at "/pytorch/aten/src/ATen/native/DispatchStub.cpp":275

Fixes https://github.com/intel-sandbox/torch-xpu-ops-exp/issues/180

Root Cause: The XPU ldexp kernel is already implemented and registered in torch-xpu-ops (src/ATen/native/xpu/BinaryOps.cpp:80, kernel in src/ATen/native/xpu/sycl/BinaryMiscOpsKernels.cpp:158). The test failure occurred because the REGISTER_XPU_DISPATCH(ldexp_stub) static initializer wasn't running at test time, likely due to a build configuration issue in the test environment. PR pytorch#171238 added @skipXPU as a workaround, but the kernel is fully implemented.

Failed Tests:

  • test/test_binary_ufuncs.py::TestBinaryUfuncsXPU::test_ldexp_xpu

Diff stat:

test/test_binary_ufuncs.py | 1 -
 1 file changed, 1 deletion(-)

[upstream pytorch#2720] [upstream_ut] RuntimeError: false INTERNAL ASSERT FAILED at "/pytorch/aten/src/ATen/native/DispatchStub.cpp":275
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.

1 participant