trunk/26323201f5d6cc7d7daadc11ca718a4db1d924da: [xpu] Support torch.xpu.mem_get_info on pluggable allocator (#197412)
- PyTorch: 1332 events in the last 90 days
- PyTorch: 1317th Release in the last 90 days
- Previous: earlier the same day · trunk/132535f990621819aa7950f6ba0c048d7f6a34e4: Fix CUDA driver linking for Inductor CUTLASS builds (#186538)
What happened
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_…
Summary assembled by rule from the sources below