Skip to content

v3.11.0

Choose a tag to compare

@wpferrell wpferrell released this 19 May 02:46
· 49 commits to main since this release

v3.11.0 ships testing infrastructure — property-based tests, multi-platform CI, integration-marker discipline, and two new real-model integration tests.

Added

  • Hypothesis property tests in tests/test_property_based.py (5 properties on random bf16/fp16/fp32 tensors of 1-3D shapes): roundtrip, valid codec name, fast/full verify, streaming-vs-standard md5 match. ~16 s for all five.
  • @pytest.mark.integration marker registered via pytest.ini. Default pytest tests/ excludes via addopts = -m "not integration". Opt in with pytest -m integration tests/.
  • The 2 historically-skipped GPT-2 tests are now @pytest.mark.integration — properly catalogued instead of silently skipped.
  • tests/test_integration.py — 2 new real-model integration tests: compress_from_hub(gpt2) round-trip + full verify() on a real model.
  • .github/workflows/ci.yml — ubuntu / windows / macos × Python 3.10 / 3.11 / 3.12. BIGSMALL_FORCE_CPU=1 so GPU/Triton tests skip themselves cleanly.

Test count

Snapshot Passed Skipped Deselected Integration
v3.10.0 131 2 0
v3.11.0 136 0 4 4

Skip count went 2 → 0. The 2 persistent skips are now properly tagged.

Deliberate scope notes

  • No decode-speed regression: speed varies on CI hardware (Numba JIT cold-start), flaky on shared runners. Ratio regression already covered by test_codec_regression.py (locked baseline, 0.05pp tolerance).
  • No GPU tests in CI: GitHub Actions runners have no GPU.

Install: pip install bigsmall==3.11.0