Skip to content

stabilize 0.2#2

Merged
maskedsyntax merged 4 commits intomasterfrom
stabilize-0.2
Apr 9, 2026
Merged

stabilize 0.2#2
maskedsyntax merged 4 commits intomasterfrom
stabilize-0.2

Conversation

@maskedsyntax
Copy link
Copy Markdown
Member

Summary

Small stabilization pass on v0.2 covering three things:

  • CI: new GitHub Actions workflow running pytest on Python 3.10/3.11/3.12 plus a ruff lint job. Triggers on push and PR against master.
  • CHANGELOG.md: Keep-a-Changelog format with entries for v0.1.0, v0.2.0, and an Unreleased section.
  • torch.ao deprecation: wraps the PTQ dynamic/static calls in a targeted warning filter so users don't see the noisy deprecation spam. Leaves a `TODO(v0.3)` marking the migration to `torchao.quantization`. Test-suite warning count drops from 25 to 5.

Also:

  • Cleaned up ruff check (0 errors) and added a per-file E741 ignore for tests.
  • Fixed `comprexx.version` which was still pinned at 0.1.0 after the v0.2 release.
  • Fixed a handful of long lines, an unused local in the CLI, and a type comparison in a PTQ dynamic test.

Test plan

  • `pytest -q` still passes (163 passed, 5 warnings)
  • `ruff check .` is clean
  • CI workflow runs green on this PR

- ruff check is now clean across the repo (0 errors)
- Added a per-file ignore for E741 in tests so short loop vars like
  'l' stay allowed there
- Fixed a handful of long lines, an unused local in the CLI, and a
  type comparison in a PTQ dynamic test
- comprexx.__version__ was still pinned at 0.1.0 after the v0.2
  release; bumped to match pyproject.toml
The torch.ao.quantization API prints a DeprecationWarning on every
call, announcing its removal in torch 2.10. Our PTQ dynamic and static
stages still rely on it, so the warning is unavoidable for now and
just adds noise to user output.

Wrap the prepare/convert/quantize_dynamic calls in warnings.catch_warnings
and filter the specific message. Leaves a TODO(v0.3) marking the
migration to torchao.quantization so it's visible from the source.

Test-suite warning count drops from 25 to 5.
Runs pytest on Python 3.10, 3.11, and 3.12 via a matrix, plus a
separate ruff lint job. Triggers on push and pull_request against
master. The project had no CI before this.
Keep-a-Changelog format with entries for the initial release, the
v0.2 feature drop (new compression techniques and sensitivity
analysis), and an Unreleased section tracking this stabilize-0.2
work.
@maskedsyntax maskedsyntax merged commit b1ecb25 into master Apr 9, 2026
4 checks passed
@maskedsyntax maskedsyntax deleted the stabilize-0.2 branch April 9, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant