Update transformers to support `FqnToConfig` (#41894)
* Update transformers to support `FqnToConfig`
Summary:
Test Plan:
Reviewers:
Subscribers:
Tasks:
Tags:
* add case for modulefqn
* remove comment
* update tests
* cleanup
* update
* wip
* wip
* update quantizer_torchao for module default
* fix underscore
* update tests
* update
* fix import error
* fix import
* import change not included in previous commit
* Apply suggestion from @MekkCyber
Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com>
* Update src/transformers/quantizers/quantizer_torchao.py
Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com>
* update tests and add comment
* fix test
---------
Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com>