From c970f69334fa8f07a8d359430097bca86a96e754 Mon Sep 17 00:00:00 2001 From: Andrej Karpathy Date: Sun, 13 Aug 2023 23:48:01 +0000 Subject: [PATCH] oops i should probably call this function lol --- test_all.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test_all.py b/test_all.py index e8590ea..625af44 100644 --- a/test_all.py +++ b/test_all.py @@ -42,6 +42,7 @@ expected_stdout = b'Once upon a time, there was a little girl named Lily. She lo def test_runc(): """ Forwards a model against a known-good desired outcome in run.c for 200 steps""" + attempt_download_files() model_path = os.path.join(test_ckpt_dir, "stories260K.bin") tokenizer_path = os.path.join(test_ckpt_dir, "tok512.bin") @@ -56,6 +57,7 @@ def test_runc(): def test_python(): """ Forwards a model against a known-good desired outcome in sample.py for 200 steps""" + attempt_download_files() device = "cpu" # stories260K is small enough to just breeze through it on CPU checkpoint = os.path.join(test_ckpt_dir, "stories260K.pt")