← 返回事件
持续讨论AI发版

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

发生了什么

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…

摘要按规则整理自下方来源原文

为什么在扩散

来源