summaryrefslogtreecommitdiff
path: root/scripts/test.sh
blob: 480e49af673541af1e9530e1a7c750b6654dd0d1 (plain)
1
2
3
4
5
6
7
#!/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"
python3 tests/test_loss_reweight.py || exit 1
python3 tests/test_jlens_v3.py || exit 1