Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

QAT Support for new Framework with QuantizationModifier Testing #1763

Merged
merged 15 commits into from
Oct 16, 2023

Conversation

Satrat
Copy link

@Satrat Satrat commented Oct 12, 2023

This PR implements QAT in the new modifier framework, adds a lifecycle testing harness for testing modifiers, and fills out unit tests for the QuantizationModifier in both one-shot and training runs. It also fixes a small bug in recipe arg collection.

Example

To run an end to end test script with quantization and pruning:

cd integrations/torchvision/modifiers_refactor_example
python e2e_test.py

Testing

Wrote unit tests for QuantizationModifier and QuantizationModifierPytorch

@Satrat Satrat requested a review from dbogunowicz October 16, 2023 20:19
@Satrat Satrat merged commit f889bb8 into main Oct 16, 2023
@Satrat Satrat deleted the quantization_modifier branch October 16, 2023 21:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants