Skip to content

[XPU] test_xpu.py::TestXpuXPU::test_generic_stream_event_xpu crashed with XPU support package 2025.0 #140814

@chuanqi129

Description

@chuanqi129

🐛 Describe the bug

___________________ TestXpuXPU.test_generic_stream_event_xpu ___________________
Traceback (most recent call last):
  File "/var/lib/jenkins/pytorch/test/test_xpu.py", line 288, in test_generic_stream_event
    self.assertGreater(event1.elapsed_time(event2), 0)
RuntimeError: Profiling information is unavailable as the queue associated with the event does not have the 'enable_profiling' property.

To execute this test, run the following from the base repo dir:
    python test/test_xpu.py TestXpuXPU.test_generic_stream_event_xpu

Refer: https://github.com/pytorch/pytorch/actions/runs/11855073324/job/33041258828#step:14:2504

Versions

Python main: ae7f809

cc @gujinghui @EikanWang @fengyuan14 @guangyey

Metadata

Metadata

Assignees

Labels

module: xpuIntel XPU related issuestriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions