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

[MTL Windows] test_embedding_max_norm_device_xpu_float32 assert error #1235

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

Comments

@daisyden
Copy link
Contributor

🐛 Describe the bug

With nightly build 20241230 on Windows MLT:

FAILED nn\test_embedding_xpu.py::TestEmbeddingNNDeviceTypeXPU::test_embedding_max_norm_device_xpu_float32

___ TestEmbeddingNNDeviceTypeXPU.test_embedding_max_norm_device_xpu_float32 ___
Traceback (most recent call last):
File "C:\Users\gta\penghuic\pytorch\third_party\torch-xpu-ops\test\xpu../../../../test\nn\test_embedding.py", line 764, in test_embedding_max_norm_device
self.assertTrue(output.data.norm(p=2, dim=1).le(1).all())
File "C:\Users\gta\Miniforge3\envs\ut-py310\lib\unittest\case.py", line 687, in assertTrue
raise self.failureException(msg)
AssertionError: tensor(False, device='xpu:0') is not true

To execute this test, run the following from the base repo dir:
python test\nn\test_embedding.py TestEmbeddingNNDeviceTypeXPU.test_embedding_max_norm_device_xpu_float32

Versions

With nightly build 20241230 on Windows MLT

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