zeroshotGPU / Makefile
Arjunvir Singh
Initial commit: zeroshotGPU MVP with full eval surface
db06ffa
PYTHON ?= python3.11
.PHONY: help test regression space-check parsers preflight preflight-full benchmark space-smoke space-smoke-strict clean
help:
@echo "Targets:"
@echo " test - run the full unittest discover suite"
@echo " regression - run the regression fixture snapshot suite"
@echo " space-check - run the HF Space readiness check"
@echo " parsers - print the parser registry"
@echo " preflight - run test + regression + space-check + parsers"
@echo " preflight-full - preflight + an end-to-end benchmark smoke"
@echo " benchmark - run zsgdp benchmark against tests/regression/fixtures"
@echo " space-smoke - run docs/space_smoke.md smokes (deps-permitting)"
@echo " space-smoke-strict - same, but treat skipped smokes as failures"
@echo " clean - remove __pycache__ and benchmark output"
test:
$(PYTHON) -m unittest discover
regression:
$(PYTHON) -m unittest tests.regression.test_regression -v
space-check:
$(PYTHON) -m zsgdp.cli space-check --root .
parsers:
$(PYTHON) -m zsgdp.cli parsers
preflight:
$(PYTHON) -m zsgdp.cli preflight --root .
preflight-full:
$(PYTHON) -m zsgdp.cli preflight --root . --benchmark
benchmark:
$(PYTHON) -m zsgdp.cli benchmark \
--input tests/regression/fixtures \
--output out/preflight_benchmark
space-smoke:
$(PYTHON) -m scripts.run_space_smoke --output out/space_smoke_report.json
space-smoke-strict:
$(PYTHON) -m scripts.run_space_smoke --strict --output out/space_smoke_report.json
clean:
find . -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
rm -rf out/preflight_benchmark