Loading lesson…
Level 1 · Apprentice0 XP
Install PyTorch, use your Mac's GPU, and load a first dataset.
Step 1 / 6
ProblemTraining on the CPU is 10 to 50 times slower. Many tutorials assume an NVIDIA card; on a Mac you have to choose the right device yourself.
← → step
Before this: What GPT-3.5 really took, and what you will build
🛠️ Your turn
Reading is not the skill, doing is. Try for ten minutes before you open the hint. Getting stuck first is what makes the solution stick.
1.Create the tinygpt project with uv, install PyTorch, print the selected device, download Shakespeare, and time a 4096×4096 matrix multiplication on CPU and on your GPU.