TL;DR: About a year ago I pre-trained a 124M model on my laptop and called it LiteGPT. It was dumb, but it was mine. This time I threw away the borrowed code, wrote the whole pipeline myself, rebuilt the model one piece at a time, fought my laptop's cooling, Windows Update and a rented A100, and came out with a 201M model that beats V1 everywhere it matters. It still loses to the big kids. I'll show you exactly by how much.
Previously on LiteGPT…
If you missed V1: I took nanoGPT, pointed it at about 10 billion tokens of web text, and trained a GPT-2-sized model on an RTX 4090 Laptop GPU for about 40 hours. Along the way I fought shared GPU memory, thermal throttling and the looming threat of power cuts. The model came out confidently wrong about almost everything, and gaslit me so well I started doubting my own general knowledge.
Then I put it to sleep. A deep, peaceful, 10-month sleep.
Why wake it up?
Because one thing kept bugging me. V1 worked, but I didn't build it. nanoGPT built it, and I turned the knobs. That's like saying you cooked biryani because you reheated it from a box.
So V2 had one rule: build everything myself. The architecture, the tokenizer, the data pipeline, the training loop, the evaluation, the release tooling. All of it. Then train a model end to end and see what comes out.
Topping leaderboards was never the goal. (Good thing too. Spoiler for later.) Understanding why each part exists was.
What "holding its core" means
V2 is a different model, but it kept V1's soul:
- Still small. 201M parameters. It runs on a plain CPU, and there's even a version that runs inside your browser.
- Still born on a laptop. The same RTX 4090 Laptop GPU did every design experiment.
- Still the same width. 768, exactly like V1. V2 just grew taller (more on that below).
- Still about 10 billion training tokens. Same appetite, better diet.
- Still open. Code, weights, data sources, every decision and every result, mistakes included.
The rebuild: one change at a time
Here's the thing about changing five things at once: if the model gets better, you have no idea which change did it. If it gets worse, you have no idea which change to blame. It's like a cricket team that swaps its entire playing eleven and then wonders why it won.
So I built a ladder. A small "proxy" model, about 1 billion tokens per run, and exactly one change per step. Every step had to earn its place. Here's what each one fixed (lower numbers below mean the model predicts text better):

1. Knowing where words are (RoPE). V1 learned position like a seating chart: seat 1, seat 2, up to seat 1,024, each one memorized separately. RoPE instead encodes how far apart two words are, which is what actually matters, and it let me stretch the model's memory later. Web text got about 3% better from this single change.
2. Stopping the model from losing its temper (RMSNorm and QK-norm). Inside attention, scores can quietly grow until they blow up, and training goes off a cliff. QK-norm keeps them on a leash. Later, the real model trained at an aggressive learning rate with zero loss spikes, which is exactly what this kind of leash is for. Code got about 5% better at this step.
3. A smarter middle layer (SwiGLU). The part of each layer that "thinks" got a gate that decides what information passes through. A small gain on web text.
4. Saving memory (grouped-query attention). When a model generates text, it keeps notes on everything it has already seen. Those notes eat GPU memory. Grouped-query attention lets three attention heads share one set of notes, so the notes are three times smaller. Honest moment: on the small proxy this made code slightly worse. I kept it anyway, because it's a big reason V2 now runs in less GPU memory than any of the 11 base models I measured.
5. Taller, not wider. Same number of parameters, rearranged into more, thinner layers. Research on small models says depth wins, and on my proxy it was level on web text and about 4% better on code. That's why V2 is 28 layers deep where V1 was 12.
6. My own dictionary (a 32k tokenizer). Remember V1's "dictionary" joke? About 31% of V1 was just its vocabulary, borrowed from GPT-2's 2019 tokenizer. I trained my own 32,768-word tokenizer on my own data. Now the dictionary is about 12% of the model, and it reads Python using roughly 1.7 times fewer tokens than GPT-2's. The cost: it's about 3% less efficient on plain web text. A trade I took with open eyes.
7. A better diet (the data mix). V1 ate only web text. V2 eats web text, synthetic textbooks, math and code, with benchmark questions filtered out beforehand so the model can't memorize the exam. This was the most dramatic step in the whole ladder: code prediction improved by 62%. Web text got about 3% worse. That's not a bug. That's what happens when you stop eating only one dish.
8. A longer memory (4,096 tokens). For the last stretch of training, the context doubled from 2,048 to 4,096 tokens. Thanks to step 1, this needed no surgery at all.
The laptop strikes back
The design ladder ran for weeks on the laptop. The laptop had opinions about this.
Issue 1: Windows can't do the fast thing. The fastest training setup (torch.compile) needs a library that doesn't exist on Windows. On plain Windows, the full model managed about 15.6k tokens per second, and the GPU spent 98% of that time throttled at 89 °C. Fix: move training into WSL2 (Linux inside Windows). Compile plus flash attention took it to about 30k tokens per second. Double the speed, no dual boot. I'm still a gamer. I still refuse to dual boot.
Issue 2: The heat-pipe love triangle. Even after that, my experiments were thermally throttled 95 to 98% of the time. The GPU wasn't anywhere near its power limit; it was just hot. The culprit: the CPU and GPU share heat pipes. Every degree the CPU generated was a degree stolen from the GPU. But when I clamped the CPU down too hard, the one CPU core feeding the GPU slowed to a crawl and everything got slower anyway. Four power profiles later, I settled on GPU at 120 W, CPU at 55 W, fans at jet-engine mode. Result: 0% thermal throttling across every full run. The GPU was finally limited by power, not heat, which is exactly where you want it.
Issue 3: Shared memory is back, baby. Remember V1's Issue 2, Windows' "best feature ever", which quietly spills into system RAM instead of telling you you're out of GPU memory? It came back for a sequel. The very first ladder run filled the 16 GB GPU, spilled silently, and sat there doing nothing for 4 minutes. No error, no crash, just vibes. Fix: a hard memory cap, plus a probe that halves the batch until it fits.
Issue 4: Everyone wants my laptop. In the space of two days, WSL updated its own kernel mid-run and restarted itself, Windows Update rebooted the laptop twice in two minutes at 6:44 AM (like that relative who shows up unannounced, then comes back for their umbrella), and a loose charger let the laptop drain to 4% and fall asleep. V1 was scared of power cuts. V2 met their whole extended family. Fix: every run saves its state and resumes exactly where it stopped, as if nothing happened. The worst damage from all of it was about 10 minutes of work.
The boring rule: decide before you look
Every experiment in V2 had its pass/fail threshold written down before it ran. Not after. Not "let's see what looks good". Before.
It's annoying. It's also the only reason I can trust anything in this post. Several times the rule told me something I didn't want to hear, and I had to listen. You'll see one at the end.
Moving out: renting an A100
Here's where V2 parts ways with V1. Full pretraining means days of the GPU at 100%, non-stop. You can do that to a laptop GPU (I estimated about four days), but you're spending its life to do it. So for the actual pretraining and chat training, I rented one A100 in the cloud.
The cloud had its own surprises:
- 37.2 hours. Zero restarts. Zero skipped steps. Zero loss spikes. The most boring 37 hours of my life, which is the highest compliment I can pay a training run.
- My backups had a gap. My guard script backed up the newest checkpoints, but not the 2.5B, 5B and 9B milestones. Those lived only on the rented server, one failure away from vanishing. Caught with hours to spare and uploaded.
- The A100 generated text slower than my laptop. 272 seconds against 241 on the same job, so the final scoring moved back home. My laptop has not stopped bragging about this.
- After I stopped the server, someone else rented its GPU. My files were stuck on a disk attached to a GPU I no longer had. The rescue: rent a GTX 1650 for $0.049 an hour and copy the files over to it. Cheapest hero in the story.
Total cloud bill: $24.73, about ₹2,433. Pretraining was $16.64 of that. That's less than dinner for two in Indiranagar, and nobody at that dinner learns to write Python.
Brain transplant 2: teaching it to talk
Like V1, the base model only completes text. You ask it a question, it writes you more of the question. So I fine-tuned it on about 385k conversations, three passes, with the loss counted only on the assistant's replies, so it learns to answer, not to imitate the user.
It took about 10 hours on the A100.
Result: the chat model passed its gate by beating V1's chat model on instruction-following by a clear margin. It's still weak, though, and one thing you should know up front: it refuses nothing. I found no permissively licensed, human-written safety data, so it has no safety training. Use it like you'd use a very enthusiastic intern.
The exam nobody gets to cheat on
Evaluating models fairly turned out to be its own adventure. Two problems could have made every number in this post meaningless:
- Every model scored 0 on a math test. Not because they're all dumb (well, not only), but because the scorer demanded the exact phrase "The answer is N". Fixed to read the last number instead.
- My training data overlapped the test data more than my 1% limit allowed, mostly standard legal boilerplate. The rule stopped everything. The fix: remove the overlapping items for every model, and report a "zero-match" score too.
Benchmarks: the short version
V2 against V1. Clearly better on five benchmarks, clearly worse on none.

| V1 (124M) | V2 (201M) | |
|---|---|---|
| Zero-shot mean, 10 tasks | 0.371 | 0.383 |
| Code bits per byte (lower is better) | 1.612 | 0.515 |
| Trivia questions | 0.029 | 0.054 |
| Following instructions (chat models) | 0.083 | 0.129 |
| GPU memory, batch of 8 | 0.78 GiB | 0.59 GiB |
Code modelling is about three times better. V1 is still faster at generating text, though: it's smaller and shallower.
V2 against the big kids. Here's the result the boring rule forced me to publish. I fine-tuned V2 and three other small models the same way on real "turn text into data" jobs: reading contracts, extracting details from requests, classifying banking questions.
| Model | Size | Score |
|---|---|---|
| Qwen3-0.6B | 596M | 0.851 |
| Gemma 3 270M | 268M | 0.822 |
| SmolLM2-135M | 135M | 0.817 |
| LiteGPT V2 | 201M | 0.800 |
V2 lost. To all three, with no win on any task. As a general base model it sits mid-table, 6th of 11. It still can't really do math (0.8% on GSM8K) or write working code (2 of 164 HumanEval problems). If you need a small model for this kind of job today, use SmolLM2 or Gemma, or Qwen3 if you can spare the memory. I'm saying that in my own model's launch post. That's how you know the rule works.
Where V2 does shine:
- Light: 0.59 GiB of GPU memory at batch 8, the lowest of the 11 base models I measured.
- Best at code text for its size: the lowest code bits per byte of any model under 300M parameters I tested. (Predicting code ≠ writing working code. See above.)
- CPU-friendly: 52.5 tokens per second on 4 laptop CPU threads in 1.66 GiB of RAM, level with SmolLM2-135M.
- Runs in llama.cpp and LM Studio: the 8-bit file is 215 MB and does 189 tokens per second on 4 CPU threads, matching the original model's outputs.
- Raspberry Pi 5: an estimated 12 tokens per second. (Estimated, not measured. My Pi and I are still negotiating.)
- In your browser: a chat demo that runs entirely on your own machine, no server.
- Efficient training: 62% model FLOPs utilisation on the A100, against V1's "badge of honor" 15% on the laptop. Different GPU and a slightly different yardstick, so don't frame it, but I'm proud of it.
Conclusion: what I learned (again)
- One change at a time. It's slow. It's the only way to know what actually helped.
- Write the rule before you see the result. It will hurt you. It will also make you trustworthy.
- Your laptop's cooling is a shared apartment. The CPU and GPU split the rent on heat. Tune them together.
- Everything that can restart your machine eventually will. Make every run resumable.
- Backups you haven't checked are wishes.
- The cloud is not automatically faster. Sometimes it's a very expensive way to learn your laptop was fine.
- Losing honestly is still a result. V2 isn't the best small model in the world. It's a big step up from V1, it's light, it's open down to every log, and I understand every line of it. That was the point.
Is it still dumb? A little less. And this time, the dumbness is fully reproducible.
The Numbers: what 201M parameters actually looks like
Last time, a lot of you asked for the numbers behind the jokes. Here they are.
The model
| Parameters | 201,373,952 |
| The "brain" (28 layers) | 176.2M (87.5%) |
| The "dictionary" (32,768 tokens × 768) | 25.2M (12.5%) |
| Context | 4,096 tokens |
Pretraining, on one rented A100 40 GB
| Tokens | 10.0B |
| Steps | 19,075 |
| Wall time | 37.2 hours |
| Average speed | 76.8k tokens per second |
| Model FLOPs utilisation | 62% (against the A100's measured ceiling) |
| Peak GPU memory | 36.3 GiB |
| Peak GPU temperature | 66 °C (my laptop could never) |
| Energy | 9.21 kWh |
| Restarts, skipped steps, loss spikes | 0, 0, 0 |
| Final validation | 0.820 bits per byte |
| Cost | $16.64 |

A note before anyone compares this to V1's loss of 3.07: you can't. V1 and V2 use different tokenizers, so their losses are counted in different units. It's like comparing marks out of 50 with marks out of 100. That's why I use bits per byte, which doesn't care about the tokenizer.
Chat fine-tuning: about 385k conversations, 3 passes, about 10 hours. Held-out loss went 1.13 → 1.05 → 1.02 across the three passes.
Everything, in total
| Laptop (RTX 4090 Laptop) | Rented A100 | |
|---|---|---|
| Training hours | 49.2 | 54.5 |
| What ran there | 20 design and tuning runs, about 12.6B tokens | Pretraining, chat fine-tuning and the comparison |
| Cloud cost | ₹0 (plus my electricity bill) | $24.73 |
Want every log? Every run's config, metrics and record, the full benchmark tables and 34 charts are in the GitHub repository: results, training and compute and run records. The model, training and benchmark numbers in this post all come from there. The cost, energy and temperature figures come from my server logs and cloud bill.
What's next
A fresh tokenizer. The slumber is over.