fix typos in the docs directory (#36639)

* chore: fix typos in the docs directory

* chore: fix typos in the docs directory

* chore: fix typos in the docs directory
This commit is contained in:
Afanti
2025-03-12 00:41:41 +08:00
committed by GitHub
parent cb384dcd7a
commit 81aa9b2e07
6 changed files with 7 additions and 7 deletions

View File

@@ -26,7 +26,7 @@ Install Quanto with the following command.
pip install optimum-quanto accelerate transformers
```
Quantize a model by creating a [`QuantoConfig`] and specifiying the `weights` parameter to quantize to. This works for any model in any modality as long as it contains [torch.nn.Linear](https://pytorch.org/docs/stable/generated/torch.nn.Linear.html) layers.
Quantize a model by creating a [`QuantoConfig`] and specifying the `weights` parameter to quantize to. This works for any model in any modality as long as it contains [torch.nn.Linear](https://pytorch.org/docs/stable/generated/torch.nn.Linear.html) layers.
> [!TIP]
> The Transformers integration only supports weight quantization. Use the Quanto library directly if you need activation quantization, calibration, or QAT.