Skip to content

Add tracking for unused quantization rules.#244

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
test_894306277
Open

Add tracking for unused quantization rules.#244
copybara-service[bot] wants to merge 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.

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: 894306277
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