transformers/docs/source/en/quantization
Jerry Zhang 2af272c101
Add autoquant support for torchao quantizer (#35503)
* Add autoquant support for torchao quantizer

Summary:
att, also verified that autoquantized model can be saved and loaded:

save: https://gist.github.com/jerryzh168/01d367aaf44dbbbfd4068a4a10a00061
load: https://gist.github.com/jerryzh168/d5c6c401b2abdf18e0b6771341f1525c

Test Plan:
tested locally with above script
model uploaded to https://huggingface.co/jerryzh168/llama3-8b-autoquant

Reviewers:

Subscribers:

Tasks:

Tags:

* add test

* ruff fix

* ruff reformat

* add docs and min_sqnr support

* format

* format

* fix test

* update doc

* format

* remove disable_compile

* format
2025-02-24 15:54:16 +01:00
..
aqlm.md Fixed Majority of the Typos in transformers[en] Documentation (#33350) 2024-09-09 10:47:24 +02:00
awq.md [docs] update awq doc (#36079) 2025-02-11 10:35:28 -08:00
bitnet.md FEAT : Adding BitNet quantization method to HFQuantizer (#33410) 2024-10-09 17:51:41 +02:00
bitsandbytes.md [docs] fix bugs in the bitsandbytes documentation (#35868) 2025-02-05 08:21:20 -08:00
compressed_tensors.md [docs] fix typo (#36080) 2025-02-07 12:42:09 -08:00
contribute.md Docs / Quantization: refactor quantization documentation (#30942) 2024-05-23 14:31:52 +02:00
eetq.md Fixed Majority of the Typos in transformers[en] Documentation (#33350) 2024-09-09 10:47:24 +02:00
fbgemm_fp8.md [docs] Increase visibility of torch_dtype="auto" (#35067) 2024-12-04 09:18:44 -08:00
finegrained_fp8.md Fix : fix doc fp8 (#36173) 2025-02-13 15:29:59 +01:00
gptq.md Enable gptqmodel (#35012) 2025-01-15 14:22:49 +01:00
higgs.md HIGGS Quantization Support (#34997) 2024-12-23 16:54:49 +01:00
hqq.md Hqq serialization (#33141) 2024-09-30 14:47:18 +02:00
optimum.md Docs / Quantization: refactor quantization documentation (#30942) 2024-05-23 14:31:52 +02:00
overview.md Efficient Inference Kernel for SpQR (#34976) 2025-02-13 16:22:58 +01:00
quanto.md [docs] Increase visibility of torch_dtype="auto" (#35067) 2024-12-04 09:18:44 -08:00
spqr.md Efficient Inference Kernel for SpQR (#34976) 2025-02-13 16:22:58 +01:00
torchao.md Add autoquant support for torchao quantizer (#35503) 2025-02-24 15:54:16 +01:00
vptq.md FEAT : Adding VPTQ quantization method to HFQuantizer (#34770) 2024-12-20 09:45:53 +01:00