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

LNL Windows got unexpected error message #1171

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

LNL Windows got unexpected error message #1171

daisyden opened this issue Dec 17, 2024 · 0 comments

Comments

@daisyden
Copy link
Contributor

🐛 Describe the bug

On LNL Windows with 1202 nightly wheel we got this error. No such problem on linux.

__________________________ TestPoolingNNDeviceTypeXPU.test_MaxUnpool_index_errors_case2_xpu ___________________________
Traceback (most recent call last):
File "c:\Users\dcai01\pytorch\third_party\torch-xpu-ops\test\xpu\nn\test_pooling_xpu.py", line 313, in _test_MaxUnpool_index_errors
self.assertIn(error_msg, output, "The expected error was not found")
File "C:\Users\dcai01.conda\envs\daisy\lib\unittest\case.py", line 1112, in assertIn
self.fail(self._formatMessage(msg, standardMsg))
File "C:\Users\dcai01.conda\envs\daisy\lib\unittest\case.py", line 675, in fail
raise self.failureException(msg)
AssertionError: 'Assertion maxind >= 0 && maxind < outputImageSize failed' not found in '\nAssertHandler::printMessage\n' : The expected error was not found

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

This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0
------------------------------------------------ Captured stdout call -------------------------------------------------

Assertion maxind >= 0 && maxind < outputImageSize failed

AssertHandler::printMessage

=============================================== short test summary info ===============================================
FAILED nn\test_pooling_xpu.py::TestPoolingNNDeviceTypeXPU::test_MaxUnpool_index_errors_case2_xpu - AssertionError: 'Assertion maxind >= 0 && maxind < outputImageSize failed' not found in '\nAssertHandler::printMe...
========================================= 1 failed, 132 deselected in 10.05s ==========================================

Versions

20241202 wheel.

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

No branches or pull requests

1 participant