Remove WeightTensorWithLinearActivationQuantizationMetadata#4263
Remove WeightTensorWithLinearActivationQuantizationMetadata#4263jerryzh168 merged 5 commits intomainfrom
Conversation
Summary: Delete `linear_activation_weight_observed_tensor.py` and the `insert_observers_` function that depended on it. Also remove the `TestLinearObserver` test class and unused imports. Test Plan: pytest test/quantization/test_observer.py -x [ghstack-poisoned]
Summary: Delete `linear_activation_scale.py` which defined `WeightTensorWithLinearActivationScaleMetadata` and its helper `to_weight_tensor_with_linear_activation_scale_metadata`. Remove the import and `__all__` entry from `torchao/quantization/__init__.py`. Test Plan: python -c "import torchao.quantization" [ghstack-poisoned]
Summary: Delete `weight_tensor_linear_activation_quantization.py` which defined `WeightTensorWithLinearActivationQuantizationMetadata`. No other files imported or referenced this class. Test Plan: python -c "import torchao.quantization" [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/ao/4263
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ⏳ No Failures, 6 PendingAs of commit 5d85953 with merge base 6f9a604 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
@claude review |
|
Claude finished @andrewor14's task in 42s —— View job Review of PR #4263: Remove WeightTensorWithLinearActivationQuantizationMetadata
SummaryClean deletion. The removed file defined VerificationI confirmed there are zero remaining references in the codebase to:
No LGTM — no issues found. |
…ntizationMetadata" Summary: Delete `weight_tensor_linear_activation_quantization.py` which defined `WeightTensorWithLinearActivationQuantizationMetadata`. No other files imported or referenced this class. Test Plan: python -c "import torchao.quantization" [ghstack-poisoned]
Summary: Delete `weight_tensor_linear_activation_quantization.py` which defined `WeightTensorWithLinearActivationQuantizationMetadata`. No other files imported or referenced this class. Test Plan: python -c "import torchao.quantization" [ghstack-poisoned]
Stack from ghstack (oldest at bottom):
Summary:
Delete
weight_tensor_linear_activation_quantization.pywhich definedWeightTensorWithLinearActivationQuantizationMetadata. No other filesimported or referenced this class.
Test Plan:
python -c "import torchao.quantization"