transformers/tests/quantization
Mohamed Mekkouri b262680af4
Add Bitnet model (#37742)
* Adding BitNet b1.58 Model

* Add testing code for BitNet

* Fix format issues

* Fix docstring format issues

* Fix docstring

* Fix docstring

* Fix: weight back to uint8

* Fix

* Fix format issues

* Remove copy comments

* Add model link to the docstring

* Fix: set tie_word_embeddings default to false

* Update

* Generate modeling file

* Change config name for automatically generating modeling file.

* Generate modeling file

* Fix class name

* Change testing branch

* Remove unused param

* Fix config docstring

* Add docstring for BitNetQuantConfig.

* Fix docstring

* Update docs/source/en/model_doc/bitnet.md

Co-authored-by: Mohamed Mekkouri <93391238+MekkCyber@users.noreply.github.com>

* Update docs/source/en/model_doc/bitnet.md

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

* Update bitnet config

* Update explanation between online and offline mode

* Remove space

* revert changes

* more revert

* spaces

* update

* fix-copies

* doc fix

* fix minor nits

* empty

* small nit

* empty

---------

Co-authored-by: Shuming Ma <shumingma@pku.edu.cn>
Co-authored-by: shumingma <shmingm@gmail.com>
Co-authored-by: Marc Sun <57196510+SunMarc@users.noreply.github.com>
2025-04-28 15:08:46 +02:00
..
aqlm_integration Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
autoawq Fixing quantization tests (#37650) 2025-04-22 13:59:57 +02:00
autoround Fix typos in strings and comments (#37799) 2025-04-28 11:39:11 +01:00
bitnet_integration Add Bitnet model (#37742) 2025-04-28 15:08:46 +02:00
bnb Fix typos in strings and comments (#37799) 2025-04-28 11:39:11 +01:00
compressed_tensors_integration Fix: Unexpected Keys, Improve run_compressed, Rename Test Folder (#37077) 2025-04-04 21:30:11 +02:00
eetq_integration Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
fbgemm_fp8 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
finegrained_fp8 Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
ggml Fixing quantization tests (#37650) 2025-04-22 13:59:57 +02:00
gptq Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
higgs Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
hqq Fixes hqq by following a new path for bias parameter in pre_quantized models (#37530) 2025-04-16 13:58:14 +02:00
quanto_integration Fixing quantization tests (#37650) 2025-04-22 13:59:57 +02:00
quark_integration Fix typos in strings and comments (#37799) 2025-04-28 11:39:11 +01:00
spqr_integration Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
torchao_integration Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
vptq_integration Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00