Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: Broken repr of TorchAoConfig (#34560)
FIX Broken repr of TorchAoConfig The __repr__ method references a non-existent self.kwargs. This is now fixed. There does not appear to be a uniform way of defining __repr__ for quantization configs. I copied the method as implemented for HQQ: https://github.com/huggingface/transformers/blob/e2ac16b28a0b8b900e136750309ca40c49d975c5/src/transformers/utils/quantization_config.py#L285-L287
- Loading branch information