Merged
Conversation
- 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.
490c03c to
37b5c4b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Small stabilization pass on v0.2 covering three things:
Also:
Test plan