transformers/docs/source
fxmarty-amd 1a374799ce
Support loading Quark quantized models in Transformers (#36372)
* add quark quantizer

* add quark doc

* clean up doc

* fix tests

* make style

* more style fixes

* cleanup imports

* cleaning

* precise install

* Update docs/source/en/quantization/quark.md

Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>

* Update tests/quantization/quark_integration/test_quark.py

Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>

* Update src/transformers/utils/quantization_config.py

Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>

* remove import guard as suggested

* update copyright headers

* add quark to transformers-quantization-latest-gpu Dockerfile

* make tests pass on transformers main + quark==0.7

* add missing F8_E4M3 and F8_E5M2 keys from str_to_torch_dtype

---------

Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
Co-authored-by: Bowen Bao <bowenbao@amd.com>
Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com>
2025-03-20 15:40:51 +01:00
..
ar Remove research projects (#36645) 2025-03-11 13:47:38 +00:00
de Remove research projects (#36645) 2025-03-11 13:47:38 +00:00
en Support loading Quark quantized models in Transformers (#36372) 2025-03-20 15:40:51 +01:00
es Remove research projects (#36645) 2025-03-11 13:47:38 +00:00
fr Remove research projects (#36645) 2025-03-11 13:47:38 +00:00
hi [i18n-HI] Translated TFLite page to Hindi (#34572) 2024-11-04 09:40:30 -08:00
it Remove research projects (#36645) 2025-03-11 13:47:38 +00:00
ja Just import torch AdamW instead (#36177) 2025-03-19 18:29:40 +00:00
ko 🌐 [i18n-KO] Translated codegen.md to Korean (#36698) 2025-03-14 09:31:18 -07:00
ms Remove research projects (#36645) 2025-03-11 13:47:38 +00:00
pt Remove research projects (#36645) 2025-03-11 13:47:38 +00:00
te Fix typos in translated quicktour docs (#35302) 2024-12-17 09:32:00 -08:00
tr Translate index.md to Turkish (#27093) 2023-11-08 08:35:20 -05:00
zh Just import torch AdamW instead (#36177) 2025-03-19 18:29:40 +00:00
_config.py [#29174] ImportError Fix: Trainer with PyTorch requires accelerate>=0.20.1 Fix (#29888) 2024-04-08 14:21:16 +01:00