How to Check Which Version of PyTorch Is Installed
Before you follow a guide or report a problem, you need to know which PyTorch you have, and whether it was built with CUDA. PyTorch tells you both from Python. This guide reads them for PyTorch 2.15.0 on an Apple M1 Pro, then reads the version without importing PyTorch at all.
