Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix import error from quantization before PyTorch 2.3
Summary: pytorch#884 introduced a quantizer that was not available before PyTorch 2.3, causing import errors for users using an earlier version. In torchao, we gate the import by PyTorch version. We can do the same here.
- Loading branch information