viable/strict/1790090860: [xpu] Support torch.xpu.mem_get_info on pluggable allocator (#197412)
- PyTorch 近 90 天出现 1354 次
- PyTorch 近 90 天第 1337 次发版
- 上一次:同一天稍早 · viable/strict/1790085052
发生了什么
Motivation Without this code change, torch.xpu.mem_get_info and torch.accelerator.get_memory_info doesn't support on pluggable allocator. ", line 48, in File "/home/sdp/guangyey/pytorch/torch/xpu/memory.py", line 212, in mem_get_info return torch._C._xpu_getMemoryInfo(device) NotImplementedError: getMemoryInfo is not implemented for this allocator yet."> (guangyey) sdp@emr7470: ~ /guangyey/pytorch$ pytest test/test_…
摘要按规则整理自下方来源原文