viable/strict/1789559427: Refine error message for torch.xpu.utilization() on Xe2+ (#197210)
- PyTorch 近 90 天出现 1045 次
- PyTorch 近 90 天第 1034 次发版
- 上一次:同一天稍早 · viable/strict/1789557997
发生了什么
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…
摘要按规则整理自下方来源原文