-
Notifications
You must be signed in to change notification settings - Fork 342
Drop old quantization flows #3115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/3115
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit fbb2f2b with merge base 1d64cbb ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about inlining _int8wo_api
, _int8da_int8w_api
, _int4wo_api
? They are used only once across codebase.
print("_int8da_int8w_api") | ||
|
||
for M, N, K in all_shapes: | ||
_bench_quantized_tensor_subclass_perf( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Temporarily updated to use new APIs 2 times to fix CI, but maybe we can update _bench_quantized_tensor_subclass_perf
to compare only original vs. new quantization flows?
Summary:
This PR drops old quantization flows:
Applies corresponding change in other parts for removing old quantization flows:
Test plan: test/integration/test_integration.py