AI Hints
Home›Fine-Tuning LLMs Tutorial›Precision, Length and Hardware
Fine-Tuning LLMs · Lesson 66 of 120

Where to Train

Laptops, Colab and the cloud.

⏱ 2 min read▶ Video at 1:42:30🎓 Free
Watch this lesson in the Fine-Tuning LLMs courseWatch on YouTube ↗Full Fine-Tuning LLMs course

Our small model trains on a laptop. But for bigger models, you'll need a GPU. Here are your options, from free to powerful.

  • Small models: a laptop
  • Bigger models: a GPU
  • Free to powerful

Your options

A laptop CPU is fine for models under about half a billion parameters. Google Colab and Kaggle give you a free GPU, with about sixteen gigabytes of memory. Enough for QLoRA on an eight billion model. Cloud GPU services, like RunPod, Lambda, or the big clouds, rent bigger cards by the hour. And a gaming GPU at home works well too.

WhereGood for
Laptop CPUmodels up to ~0.5B
Colab / Kaggle (free)QLoRA up to ~8B
Rented cloud GPUbigger models, faster
Gaming GPU at homeQLoRA, many experiments

Save money

A few tips to save money. Develop on a tiny model and a small data sample first. Only move to a big GPU when your code works. Stop the GPU the moment training ends, because you pay by the hour. And save checkpoints, so a stopped run can continue.

keyvalue
Develop smalltiny model, tiny data
Then scaleonly when the code works
Stop the GPUyou pay by the hour
Checkpointsresume, don't restart

Summary

Let's recap. Laptops handle small models. Free Colab handles QLoRA up to about eight billion. Cloud GPUs handle the rest. And always develop small first. Next, let's fine-tune a bigger model.

Key takeaways
  • Laptop → small
  • Colab → QLoRA 8B
  • Develop small first
Next up: A Bigger Model — Qwen2.5 0.5B