← Back to events
ActiveAIRelease

viable/strict/1789559427: Refine error message for torch.xpu.utilization() on Xe2+ (#197210)

What happened

Motivation When we enable pyzes tests on BMG in #196950 , we found zesDeviceEnumEngineGroups will fail with pyzes.ZE_RESULT_ERROR_INSUFFICIENT_PERMISSIONS . This is different logic from the Xe arch. Level Zero Sysman will fix it in the next version. We handle this logic in PyTorch side temporarily. Additional Context With this fix: the test will be skipped; otherwise fail with RuntimeError: Can't get Level Zero Sysm…

Summary assembled by rule from the sources below

Why it's spreading

Sources