diff options
| author | Void Agent <void@jayrup.hermes> | 2026-08-02 13:34:14 +0100 |
|---|---|---|
| committer | Void Agent <void@jayrup.hermes> | 2026-08-02 13:34:14 +0100 |
| commit | 616206bf3953f17fad68cf36246a6c156756ea0a (patch) | |
| tree | c0004cab7ed38242239fb3cac6ce9c3dbd5b9738 /scripts | |
| parent | 53de9ecd13fbf7e098fea88f73d1a9403a40d83b (diff) | |
Add canonical test command: scripts/test.sh (runs tests/test_loss_reweight.py; skips without torch)
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/test.sh | 6 |
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 |
