summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/test.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/test.sh b/scripts/test.sh
new file mode 100755
index 0000000..0875608
--- /dev/null
+++ b/scripts/test.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Canonical test command for this repo.
+# torch is not installed on bare-metal voidlaptop, so this skips gracefully
+# there; run it in the meru container (torch + CUDA) for the full pass:
+# ssh meru "docker exec -w /workspace/code jspace-nanogpt sh scripts/test.sh"
+exec python3 tests/test_loss_reweight.py