Roadmap linkage:
t81-roadmap#2t81-roadmap/PHASE1_STABILIZATION_MATRIX.md(P1-S2)
This document is the Phase 1 hardening checklist for t81lib.
- Define a reproducible core arithmetic validation lane (C++ build + unit tests).
- Define a reproducible quantization validation lane (Python tests with explicit deps).
- Add one command entry point that runs both lanes in a consistent order.
- Require changed quantization claims to include benchmark artifact references.
- Route contract-impacting changes back to roadmap tracking.
Runs deterministic C++ checks through CMake/CTest:
scripts/validate_quantization_hardening.shpython3 -m venv .venv
source .venv/bin/activate
pip install ".[torch]"
scripts/validate_quantization_hardening.sh --with-pythonIf a change alters quantization behavior or performance claims, include:
- Command used (for example
scripts/ternary_quantization_benchmark.pyargs). - Output artifact path (
benchmarks/*.csvorbenchmarks/*.json). - Before/after summary in PR or issue notes.
When quantization behavior changes impact cross-repo assumptions, open or update linked tracking in:
t81-roadmap(Phase 1 tracker),- downstream contract consumers as needed (
t81-python,t81-lang).