Remove references to torchao's AffineQuantizedTensor (#13405) · huggingface/diffusers@24b4c25 · GitHub
Skip to content

Commit 24b4c25

Browse files
Remove references to torchao's AffineQuantizedTensor (#13405)
**Summary:** TorchAO recently deprecated AffineQuantizedTensor and related classes (pytorch/ao#2752). These will be removed in the next release. We should remove references of these classes in diffusers before then. **Test Plan:** python -m pytest -s -v tests/quantization/torchao/test_torchao.py Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
1 parent d31061b commit 24b4c25

2 files changed

Lines changed: 23 additions & 38 deletions

File tree

‎src/diffusers/quantizers/torchao/torchao_quantizer.py‎

Lines changed: 5 additions & 14 deletions

‎tests/quantization/torchao/test_torchao.py‎

Lines changed: 18 additions & 24 deletions

0 commit comments

Comments
 (0)