Skip to content

LNL Windows got unexpected error message #1171

@daisyden

Description

@daisyden

🐛 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.

Metadata

Metadata

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions