-
Notifications
You must be signed in to change notification settings - Fork 62
Description
🐛 Describe the bug
Some failed cases AssertionError: 'Assertion maxind >= 0 && maxind < outputImageSize failed' not found in '[2025-11-04 06:00:55.613] [warning] [sycl_collector.h:388] Another subscriber already subscribed to Sycl runtime events, so PTI will not subscribe to them. It will affect correctness of PTI profile: e.g. report zero XPU time for CPU callers of GPU kernels. AssertHandler::printMessage ' : The expected error was not found
'''
nn\test_pooling_xpu.py::TestPoolingNNDeviceTypeXPU::test_MaxUnpool_index_errors_case1_xpu
nn\test_pooling_xpu.py::TestPoolingNNDeviceTypeXPU::test_MaxUnpool_index_errors_case2_xpu
nn\test_pooling_xpu.py::TestPoolingNNDeviceTypeXPU::test_MaxUnpool_index_errors_case4_xpu
nn\test_pooling_xpu.py::TestPoolingNNDeviceTypeXPU::test_MaxUnpool_index_errors_case6_xpu
nn\test_pooling_xpu.py::TestPoolingNNDeviceTypeXPU::test_MaxUnpool_index_errors_case7_xpu
nn\test_pooling_xpu.py::TestPoolingNNDeviceTypeXPU::test_MaxUnpool_index_errors_case9_xpu
'''
To execute this test, run the following from the base repo dir:
PYTORCH_TEST_WITH_SLOW=1 python ....\test\nn\test_pooling.py TestPoolingNNDeviceTypeXPU.test_MaxUnpool_index_errors_case1_xpu
error log:
This message can be suppressed by setting PYTORCH_PRINT_REPRO_ON_FAILURE=0
______ TestPoolingNNDeviceTypeXPU.test_MaxUnpool_index_errors_case2_xpu _______
[gw0] win32 -- Python 3.10.14 C:\Users\dcai01\miniforge3\envs\xpu-test\python.exe
Traceback (most recent call last):
File "C:\pytorch\third_party\torch-xpu-ops\test\xpu\nn\test_pooling_xpu.py", line 329, in _test_MaxUnpool_index_errors
self.assertIn(error_msg, output, "The expected error was not found")
File "C:\Users\dcai01\miniforge3\envs\xpu-test\lib\unittest\case.py", line 1112, in assertIn
self.fail(self._formatMessage(msg, standardMsg))
File "C:\Users\dcai01\miniforge3\envs\xpu-test\lib\unittest\case.py", line 675, in fail
raise self.failureException(msg)
AssertionError: 'Assertion maxind >= 0 && maxind < outputImageSize failed' not found in '[2025-11-04 06:01:01.562] [warning] [sycl_collector.h:388] Another subscriber already subscribed to Sycl runtime events, so PTI will not subscribe to them. It will affect correctness of PTI profile: e.g. report zero XPU time for CPU callers of GPU kernels.\n\nAssertHandler::printMessage\n' : The expected error was not found
Versions
Versions
Environment:
PyTorch Commit: 2.10.0.dev20251103+xpu / 95ab09cb54f6ba13eda0160b663e85119f68ac14
XPU Commit: 8d373ba
OS: Microsoft Windows 11 Pro
CPU: Intel(R) Core(TM) Ultra 7 258V
GPU and Driver: Intel(R) Arc(TM) 140V GPU (16GB) 32.0.101.7026
oneAPI: intel.oneapi.win.deep-learning-essentials.product=2025.0.1+20