PyTorch on a Mac: why memory looks freed after .to("cpu")
On a Mac, a tensor moved from mps to the CPU seems to disappear from memory. The process footprint, the number Activity Monitor shows in its Memory column, drops to almost nothing, and so does the MPS driver count. The copy is still there and still takes the same memory. This is the minimal example…
Read the full story at DEV Community — Machine Learning ↗
Timeline · 1 report
- 2026-10-13 08:43 · DEV Community — Machine Learning
PyTorch on a Mac: why memory looks freed after .to("cpu")