From 616206bf3953f17fad68cf36246a6c156756ea0a Mon Sep 17 00:00:00 2001 From: Void Agent Date: Sun, 2 Aug 2026 13:34:14 +0100 Subject: Add canonical test command: scripts/test.sh (runs tests/test_loss_reweight.py; skips without torch) --- scripts/test.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 scripts/test.sh (limited to 'scripts') 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 -- cgit v1.2.3