
pytest-torch: Testing PyTorch Models Like You Mean It
A pytest plugin for the tests every model and training loop needs: inference contracts, invariance, deployment parity, checkpoint resume, gradient accumulation, dataset metrics with confidence intervals, and zero-code testing of any model.



