Home / Companies / Lightning AI / Blog / Post Details
Content Deep Dive

Performance Notes Of PyTorch Support for M1 and M2 GPUs

Blog post from Lightning AI

Post Details
Company
Date Published
Author
Sebastian Raschka
Word Count
228
Company Posts That Month
4
Language
English
Hacker News Points
-
Post removed?
No
Summary

Apple’s ARM-based M1 and M2 chips offer strong performance and energy efficiency, and PyTorch has announced plans to support their GPUs for deep learning workloads that previously ran mainly on CPUs. Early testing noted that convolutional neural networks may require substantially more memory on M1 GPUs and CPUs than on CUDA GPUs, creating potential swapping concerns, although the reported MacBook Pro runs remained below 80% memory utilization. To compare hardware fairly, the training tests used a batch size of 32 because Nvidia RTX 2080 Ti and GTX 1080 Ti GPUs were limited by 11 GB of VRAM, while a later M1 Pro test using batch size 64 was about 20% faster. Sebastian Raschka provides additional benchmarks and discussion in a linked article on running PyTorch on the M1 GPU.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.