| # CPU smoke suite — proves the harness works before spending GPU. | |
| # Fast logic-only tests by default; add --full to include the tiny-model | |
| # train/eval and the HF dataset-schema probes (needs network). | |
| set -euo pipefail | |
| cd "$(dirname "$0")/.." | |
| export HF_HUB_DISABLE_PROGRESS_BARS=1 | |
| export TOKENIZERS_PARALLELISM=false | |
| if [[ "${1:-}" == "--full" ]]; then | |
| echo ">> full smoke suite (logic + tiny-model train/eval + dataset probes)" | |
| python -m pytest -q -p no:cacheprovider | |
| else | |
| echo ">> fast smoke suite (pure logic; no model/network)" | |
| python -m pytest -q -m "not slow and not network" -p no:cacheprovider | |
| echo | |
| echo " (run './scripts/smoke_all.sh --full' to also exercise training + datasets)" | |
| fi | |