add data loading into benchmarking as well, just for completeness

This commit is contained in:
Andrej Karpathy committed 2022-12-29 00:05:32 +00:00
1 parent 70b5d93aee
commit b760ef1358
2 files changed
+26 -7

No files matched your search

+1 -1
View File
@@ -60,4 +60,4 @@ I briefly tried finetuning gpt2 a bit more on our OWT and didn't notice dramatic
## benchmarking
For model benchmarking `bench.py` might be useful. It's identical what happens in `train.py` except we're measuring just the fwd+bwd+update time of the model on a fixed random batch of data.
For model benchmarking `bench.py` might be useful. It's identical what happens in the meat of the training loop of `train.py`, but omits much of the other complexities.