From 7f51d17977ddcfad7d350df074cb131e8e85d727 Mon Sep 17 00:00:00 2001 From: Andrej Karpathy Date: Thu, 12 Jan 2023 02:17:52 +0000 Subject: [PATCH] add note about windows and pytorch 2.0 and torch compile in general --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f8a52b0..6f672f5 100644 --- a/README.md +++ b/README.md @@ -153,6 +153,10 @@ Results - Actually reproduce GPT-2 results and have clean configs that reproduce the result. It was estimated ~3 years ago that the training cost of 1.5B model was ~$50K (?). Sounds a bit too high. -# acknowledgements +## troubleshooting + +- Note that by default this repo uses PyTorch 2.0 (i.e. `torch.compile`). This is fairly new and experimental, and not yet available on all platforms (e.g. Windows). If you're running into related error messages try to disable this by adding `--compile=False` flag. This will slow down the code but at least it will run. + +## acknowledgements Thank you [Lambda labs](https://lambdalabs.com) for supporting the training costs of nanoGPT experiments.