Introduction to Pytorch Understand the tensor in pytorch Apply GPU to tensors when computing Understand Data parallesim Run pytorch-m1-gpu.py with mps as follow (Note: This command is for chip Apple Silicon): python pytorch-m1-gpu.py --device "mps"