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

[MLT Windows] test_max_pool_nan_inf_xpu_float64 got RuntimeError: Native API failed. #1236

Open
daisyden opened this issue Dec 31, 2024 · 0 comments

Comments

@daisyden
Copy link
Contributor

🐛 Describe the bug

FAILED nn\test_pooling_xpu.py::TestPoolingNNDeviceTypeXPU::test_max_pool_nan_inf_xpu_float64

________ TestPoolingNNDeviceTypeXPU.test_max_pool_nan_inf_xpu_float64 _________
Traceback (most recent call last):
File "C:\Users\gta\penghuic\pytorch\third_party\torch-xpu-ops\test\xpu\nn\test_pooling_xpu.py", line 362, in _test_max_pool_nan_inf
self.assertTrue(math.isinf(res2.item()))
RuntimeError: Native API failed. Native API returns: 2147483646 (UR_RESULT_ERROR_UNKNOWN)

To execute this test, run the following from the base repo dir:
python test\nn\test_pooling.py TestPoolingNNDeviceTypeXPU.test_max_pool_nan_inf_xpu_float64

Versions

20241230 nightly build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant