Skip to content

AssertionError: False is not true #3243

@zxd1997066

Description

@zxd1997066

🐛 Describe the bug

Cases:
op_ut,third_party.torch-xpu-ops.test.xpu.test_autograd_xpu.TestAutogradStreamSynchronizationXPU,test_side_stream_backward_overlap_xpu

Command
pytest -v test_autograd_xpu.py -k test_side_stream_backward_overlap_xpu

2026-03-30T14:26:52.6547055Z __ TestAutogradStreamSynchronizationXPU.test_side_stream_backward_overlap_xpu __
2026-03-30T14:26:52.6547529Z [gw7] linux -- Python 3.10.20 /tmp/xpu-tool/Python/3.10.20/x64/bin/python
2026-03-30T14:26:52.6547810Z Traceback (most recent call last):
2026-03-30T14:26:52.6548339Z   File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/test_autograd.py", line 14317, in test_side_stream_backward_overlap
2026-03-30T14:26:52.6548839Z     check_ordering()
2026-03-30T14:26:52.6549274Z   File "/__w/torch-xpu-ops/torch-xpu-ops/pytorch/third_party/torch-xpu-ops/test/xpu/../../../../test/test_autograd.py", line 14301, in check_ordering
2026-03-30T14:26:52.6549727Z     self.assertTrue(
2026-03-30T14:26:52.6550133Z   File "/tmp/xpu-tool/Python/3.10.20/x64/lib/python3.10/unittest/case.py", line 687, in assertTrue
2026-03-30T14:26:52.6550504Z     raise self.failureException(msg)
2026-03-30T14:26:52.6550728Z AssertionError: False is not true
2026-03-30T14:26:52.6550860Z 
2026-03-30T14:26:52.6550993Z To execute this test, run the following from the base repo dir:
2026-03-30T14:26:52.6551527Z     PYTORCH_TEST_WITH_SLOW=1 python ../../test/test_autograd.py TestAutogradStreamSynchronizationXPU.test_side_stream_backward_overlap_xpu

Versions

#3205

Metadata

Metadata

Assignees

Labels

module: utskippedUsed for temp UT failure to parallel fix

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions