Skip to content

Add tracking for unused quantization rules.#244

Merged
copybara-service[bot] merged 1 commit intomainfrom
test_894306277
Apr 8, 2026
Merged

Add tracking for unused quantization rules.#244
copybara-service[bot] merged 1 commit intomainfrom
test_894306277

Conversation

@copybara-service
Copy link
Copy Markdown

Add tracking for unused quantization rules.

This change introduces a mechanism to track which quantization rules defined in a QuantizationConfig are actually applied during model quantization. A new method, get_unused_rules(), is added to the config to return any rules that did not match any operations in the model. This helps in verifying that all intended quantization rules are being used. The documentation is updated to reflect this new feature, and a test file is added to cover the functionality.

@copybara-service copybara-service bot force-pushed the test_894306277 branch 5 times, most recently from 2cefa2e to fa9143c Compare April 8, 2026 23:45
This change introduces a mechanism to track which quantization rules defined in a QuantizationConfig are actually applied during model quantization. A new method, `get_unused_rules()`, is added to the config to return any rules that did not match any operations in the model. This helps in verifying that all intended quantization rules are being used. The documentation is updated to reflect this new feature, and a test file is added to cover the functionality.

PiperOrigin-RevId: 896769860
@copybara-service copybara-service bot merged commit 56471fc into main Apr 8, 2026
@copybara-service copybara-service bot deleted the test_894306277 branch April 8, 2026 23:46
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