Remove old QAT APIs
(Re-opened to remove stack, identical to https://github.com/pytorch/ao/pull/3147)
Summary: As a follow-up to https://github.com/pytorch/ao/pull/2641, which deprecated the old QAT APIs in 0.13.0, we remove them now in the next release 0.15.0.
Fixes https://github.com/pytorch/ao/issues/2630.
Test Plan: CI
:link: Helpful Links
:test_tube: See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/3310
- :page_facing_up: Preview Python docs built from this PR
Note: Links to docs will display an error until the docs builds have been completed.
:white_check_mark: You can merge normally! (2 Unrelated Failures)
As of commit 036339cc29c49ba5426feedd6f2dfd114039cbbc with merge base a8fa9e554f5befc8a8f4db113028ea4b9c69e728 ():
BROKEN TRUNK - The following jobs failed but were present on the merge base:
👉 Rebase onto the `viable/strict` branch to avoid these failures
- Run 1xH100 Tests / test (H100, linux.aws.h100, --pre torch torchvision torchaudio fbgemm-gpu-genai --index-url https... / linux-job (gh) (trunk failure)
test/integration/test_load_and_run_checkpoint.py::TestLoadAndRunCheckpoint::test_deprecated_hf_models_model_info2 - Run Regression Tests / test-nightly (CUDA Nightly, linux.g5.12xlarge.nvidia.gpu, --pre torch --index-url https://downloa... / linux-job (gh) (trunk failure)
test/test_low_bit_optim.py::TestFSDP2::test_fsdp2
This comment was automatically generated by Dr. CI and updates every 15 minutes.
@andrewor14 has imported this pull request. If you are a Meta employee, you can view this in D86543553.
@andrewor14 are you planning to land this before next release?
are you planning to land this before next release?
I think this is blocked on some internal callsites that need to be migrated before we can land this. Probably won't make it in 0.15.0 but I think that's fine
@andrewor14 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D86543553.