Skip to content

[distributed] test_c10d_pypg.py RuntimeError: Failed to create StreamBlock #2370

@zxd1997066

Description

@zxd1997066

🐛 Describe the bug

please get wheels from https://github.com/intel/torch-xpu-ops/actions/runs/19357390650 or use gh download

gh run download 19357390650 --repo intel/torch-xpu-ops --name Torch-XPU-Wheel-1826 --dir path --pattern "*.zip"
git clone -b distributed_2.10 https://github.com/daisyden/pytorch.git
cd pytorch
pip install -r requirements.txt
pip install pytest expecttest
pytest -v test/distributed/test_c10d_pypg.py::TestPyProcessGroup::test_block_current_stream
pytest -v test/distributed/test_c10d_pypg.py::TestPyProcessGroup::test_block_current_stream_use_after_free
_________________ TestPyProcessGroup.test_block_current_stream _________________
Traceback (most recent call last):
  File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/unittest/case.py", line 591, in run
    self._callTestMethod(testMethod)
  File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/unittest/case.py", line 549, in _callTestMethod
    method()
  File "/tmp/xpu-tool/Python/3.10.19/x64/lib/python3.10/site-packages/torch/testing/_internal/common_utils.py", line 3336, in wrapper
    method(*args, **kwargs)
  File "/home/jenkins/actions-runner/_work/torch-xpu-ops/torch-xpu-ops/pytorch/test/distributed/test_c10d_pypg.py", line 229, in test_block_current_stream
    work.block_current_stream()
RuntimeError: Failed to create StreamBlock

Versions

https://github.com/daisyden/pytorch/tree/distributed_2.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmodule: distributedFor distributed feature issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions