Baseline, twice
lesson 1.2 · Baseline, twiceHow much do two runs differ when only the random seed changes?
Run A
donefineweb_edu · 6L·384d · 30M params · bf16
tokens read
16,384,000
step
2,000 / 2,000
- train loss
- 5.250
- best val
- 5.330
- tokens/s
- 22k
- MFU
- 3.7%
- peak mem
- 6.4 GB
- lr
- 1.0e-4
0:13:24 · 0.016 kWh ≈ <$0.01 power · ≈ $0.07 to rent
Run B
donefineweb_edu · 6L·384d · 30M params · bf16
tokens read
16,384,000
step
2,000 / 2,000
- train loss
- 5.423
- best val
- 5.328
- tokens/s
- 22k
- MFU
- 3.8%
- peak mem
- 6.4 GB
- lr
- 1.0e-4
0:13:27 · 0.016 kWh ≈ <$0.01 power · ≈ $0.07 to rent
The machine, live
NVIDIA L4 · gcp-l4-laboffline · just nowGPU busy
– %
VRAM
– / 22 GB
Power
– / 230 W
Temperature
– °C
SM clock
– MHz
Memory bus
– %
Fan
– %
CPU
– %
PCIe
to GPU –from GPU –
Batches of token ids cross the PCIe bus into the GPU each step; weights never leave it.
Disk
read –write –
Reads: token windows from the tokenized dataset (mostly from page cache). Writes: checkpoints, about 1.5 GB each for GPT-2 124M.
Network
in –out –
In: dataset downloads from Hugging Face. Out: metrics to Supabase and checkpoint uploads to Cloud Storage.
drawing now
–
last 5 minutes
–
from the card's energy counter
this experiment
0.032 kWh
≈ <$0.01 of electricity
RAM
–
of 31.3 GB in WSL
Sampled every 2 s on the box (NVML + psutil) and pushed here over Supabase Realtime. GPU energy is the whole card. Electricity at an assumed $0.15/kWh.
What's happening
What to watch · The gap between these curves is the noise floor: any A/B difference smaller than this means nothing.
Run A
Queued
done
Download data
done
Tokenize
done
Build and compile
done
Warm up
done
Train
done
Finished
done
Run B
Queued
done
Download data
done
Tokenize
done
Build and compile
done
Warm up
done
Train
done
Finished
done
The questions
| arithmetic | A 0.47 | B 0.56 |
| ice | A 0.29 | B 0.34 |
| ocean | A 0.42 | B 0.57 |
| orbit | A 0.81 | B 0.69 |
| paris | A 0.44 | B 0.50 |
| planet | A 0.40 | B 0.07 |
| sky | A 0.59 | B 0.59 |
| water | A 0.61 | B 0.59 |
| whale | A 0.01 | B 0.02 |
Prompts include "Q: Is water a liquid at room temperature? A:" (Yes vs No), "The capital of France is" (Paris vs London) and "The largest planet in our solar system is" (Jupiter vs Mars). Full list: trainer/src/galtrain/train.py.
Run A
Water is very important. The United States, and a country. “There is a lot of how to be put to the water they have to come along for the land. It is not just a small amount of time to be removed to the water. As a country, the country is a growing source of food that has already gone down. They will never keep it right on the water. It will have been a good idea to buy for food. If you have an oil-rich, it can get this good option of being used and keep the water that is a way to increase your money. If you need to clean your products, try a healthy diet that is a good, and a high risk can be used for your energy. And it will be a very important tool in the summer. And now, this is not a growing food that will be stored in your summer. This makes the best ways to start your home. When you want to spend the
Run B
Water is a key role of the world’s growing. But it will be difficult to build their own energy to achieve the need to increase the risk of a good and more sustainable than other human life. We should not believe that food will help us develop and develop sustainable health. While the way to develop food quality, it will be better able to maintain our lives. And the water is not the need to become as a result of good health. We are able to provide the opportunity for our children and our children with our children, their children, and their kids to continue their daily life before their lives. The next step is to make their children who are doing. When we think about how to eat and eat for your children, the way to protect the children around them! There are two ways that we need to grow in the home, so we might have to look a lot of food and eat to eat. And they are, not our children will also have fun and not
What happened
- BFinished 2000 steps. Best val loss 5.328.
- BCheckpoint at step 2000: 360.9 MB (weights, AdamW state, schedule position, RNG states) in 1.55s.
- BStep 2000: val 5.328, train 5.281 (gap +0.046).
- AFinished 2000 steps. Best val loss 5.330.
- ACheckpoint at step 2000: 360.9 MB (weights, AdamW state, schedule position, RNG states) in 1.53s.
- AStep 2000: val 5.330, train 5.262 (gap +0.068).
- BStep 1800: val 5.347, train 5.292 (gap +0.055).
- AStep 1800: val 5.360, train 5.312 (gap +0.048).
- BCheckpoint at step 1750: 360.9 MB (weights, AdamW state, schedule position, RNG states) in 1.54s.
- ACheckpoint at step 1750: 360.9 MB (weights, AdamW state, schedule position, RNG states) in 1.53s.
- BStep 1600: val 5.381, train 5.372 (gap +0.009).
- AStep 1600: val 5.403, train 5.381 (gap +0.023).
- BCheckpoint at step 1500: 360.9 MB (weights, AdamW state, schedule position, RNG states) in 1.54s.
- ACheckpoint at step 1500: 360.9 MB (weights, AdamW state, schedule position, RNG states) in 1.54s.
- BStep 1400: val 5.472, train 5.416 (gap +0.056).
- AStep 1400: val 5.474, train 5.440 (gap +0.034).
- BCheckpoint at step 1250: 360.9 MB (weights, AdamW state, schedule position, RNG states) in 1.54s.
- ACheckpoint at step 1250: 360.9 MB (weights, AdamW state, schedule position, RNG states) in 1.61s.
- BStep 1200: val 5.530, train 5.482 (gap +0.048).
- AStep 1200: val 5.573, train 5.520 (gap +0.053).
- BCheckpoint at step 1000: 360.9 MB (weights, AdamW state, schedule position, RNG states) in 2.07s.
- ACheckpoint at step 1000: 360.9 MB (weights, AdamW state, schedule position, RNG states) in 1.97s.
- BStep 1000: val 5.654, train 5.625 (gap +0.030).
- AStep 1000: val 5.672, train 5.627 (gap +0.045).
- BStep 800: val 5.866, train 5.739 (gap +0.127).
- AStep 800: val 5.837, train 5.783 (gap +0.054).
- BCheckpoint at step 750: 360.9 MB (weights, AdamW state, schedule position, RNG states) in 1.65s.
- ACheckpoint at step 750: 360.9 MB (weights, AdamW state, schedule position, RNG states) in 1.55s.
- BStep 600: val 6.031, train 5.947 (gap +0.085).
- AStep 600: val 6.008, train 5.992 (gap +0.017).
- BCheckpoint at step 500: 360.9 MB (weights, AdamW state, schedule position, RNG states) in 1.69s.
- ACheckpoint at step 500: 360.9 MB (weights, AdamW state, schedule position, RNG states) in 1.56s.
- BStep 400: val 6.227, train 6.210 (gap +0.017).
- AStep 400: val 6.269, train 6.227 (gap +0.042).
- BCheckpoint at step 250: 360.9 MB (weights, AdamW state, schedule position, RNG states) in 1.67s.
- ACheckpoint at step 250: 360.9 MB (weights, AdamW state, schedule position, RNG states) in 1.56s.
- BStep 200: val 6.561, train 6.514 (gap +0.047).
- AStep 200: val 6.600, train 6.561 (gap +0.038).
- BCheckpoint at step 100: 360.9 MB (weights, AdamW state, schedule position, RNG states) in 1.55s.
- ACheckpoint at step 100: 360.9 MB (weights, AdamW state, schedule position, RNG states) in 1.54s.
- BCheckpoint at step 50: 360.9 MB (weights, AdamW state, schedule position, RNG states) in 1.64s.
- ACheckpoint at step 50: 360.9 MB (weights, AdamW state, schedule position, RNG states) in 1.62s.
- BCheckpoint step 0 copied off the machine to gs://train-galvyn-xyz-checkpoints/runs/e9ae5251-c0be-4ecc-ae68-77fbe062307b/step-0000000.pt in 0.7s (in the background; training didn't wait).
- BCheckpoint at step 0: 120.3 MB (weights, AdamW state, schedule position, RNG states) in 0.50s.
- ACheckpoint step 0 copied off the machine to gs://train-galvyn-xyz-checkpoints/runs/828273b3-29b0-421c-baeb-91e765236cf3/step-0000000.pt in 0.7s (in the background; training didn't wait).
- BExpected loss before training ≈ ln(vocab) = 10.83.
- BTraining 30.06M params on fineweb_edu for 2000 steps (bf16, batch 32×1, ctx 256).
- ACheckpoint at step 0: 120.3 MB (weights, AdamW state, schedule position, RNG states) in 0.50s.
- AExpected loss before training ≈ ln(vocab) = 10.83.
- ATraining 30.06M params on fineweb_edu for 2000 steps (bf16, batch 32×1, ctx 256).