transformers/docs/source/en/main_classes
Younes Belkada 370f0ca18c
[bnb] Let's make serialization of int8 models possible (#22177)
* make serialization of int8 models possible

* make fixup

* add docs

* add ability to push to hub and save pretrained

* fixes

* more addition

* more tests

* fix issues

* change variable

* clearer message

* adapt from suggestions

* few fixes

* remove unused function

* Update src/transformers/utils/quantization_config.py

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>

* address last comments

* last warning

* clarify doc

* protect import

* Update src/transformers/modeling_utils.py

* Apply suggestions from code review

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>

---------

Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
2023-04-12 08:01:18 -04:00
..
callback.mdx Added documentation for DagsHubCallback (#21452) 2023-02-06 09:24:18 -05:00
configuration.mdx Enable doc in Spanish (#16518) 2022-04-04 10:25:46 -04:00
data_collator.mdx Enable doc in Spanish (#16518) 2022-04-04 10:25:46 -04:00
deepspeed.mdx [deepspeed zero3] need generate(synced_gpus=True, ...) (#22242) 2023-03-22 12:18:57 -07:00
feature_extractor.mdx Update feature extractor docs (#18324) 2022-07-27 15:32:57 -05:00
image_processor.mdx AutoImageProcessor (#20111) 2022-11-08 19:54:41 +00:00
keras_callbacks.mdx Enable doc in Spanish (#16518) 2022-04-04 10:25:46 -04:00
logging.mdx logging documentation update (#17174) 2022-05-16 16:47:28 -04:00
model.mdx Generate: move generation_*.py src files into generation/*.py (#20096) 2022-11-09 15:34:08 +00:00
onnx.mdx Enable doc in Spanish (#16518) 2022-04-04 10:25:46 -04:00
optimizer_schedules.mdx Add inverse sqrt learning rate scheduler (#21495) 2023-02-07 15:00:50 -05:00
output.mdx [Time-Series] informer model (#21099) 2023-03-07 21:36:38 +01:00
pipelines.mdx [Pipeline] Add zero shot audio classificatoin pipeline (#21600) 2023-02-27 11:43:44 +01:00
processors.mdx Update doc examples feature extractor -> image processor (#20501) 2022-11-30 14:50:55 +00:00
quantization.mdx [bnb] Let's make serialization of int8 models possible (#22177) 2023-04-12 08:01:18 -04:00
text_generation.mdx Generate: basic token streaming (#22449) 2023-03-30 12:00:12 +01:00
tokenizer.mdx documentation: some minor clean up (#16850) 2022-04-26 16:56:08 -04:00
trainer.mdx update FSDP and add XLA-FSDP documentation (#21812) 2023-03-01 19:51:07 +05:30