Skip to content

Commit

Permalink
Switch nncf.quantize to ptq for PT backend
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderDokuchaev committed Oct 26, 2023
1 parent faf687c commit 5e44302
Show file tree
Hide file tree
Showing 8 changed files with 61 additions and 394 deletions.
10 changes: 0 additions & 10 deletions nncf/experimental/torch/quantization/__init__.py

This file was deleted.

124 changes: 0 additions & 124 deletions nncf/experimental/torch/quantization/quantize_model.py

This file was deleted.

6 changes: 3 additions & 3 deletions nncf/quantization/quantize_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def quantize(
- `performance`: Symmetric quantization of weights and activations.
- `mixed`: Symmetric quantization of weights and asymmetric quantization of activations.
Default value is None. In this case, `mixed` preset is used for `transformer`
model type otherwise `performace`.
model type otherwise `performance`.
:type preset: nncf.QuantizationPreset
:param target_device: A target device the specificity of which will be taken
into account while compressing in order to obtain the best performance
Expand Down Expand Up @@ -185,7 +185,7 @@ def quantize_with_accuracy_control(
- `performance`: Symmetric quantization of weights and activations.
- `mixed`: Symmetric quantization of weights and asymmetric quantization of activations.
Default value is None. In this case, `mixed` preset is used for `transformer`
model type otherwise `performace`.
model type otherwise `performance`.
:type preset: nncf.QuantizationPreset
:param target_device: A target device the specificity of which will be taken
into account while compressing in order to obtain the best performance
Expand Down Expand Up @@ -317,7 +317,7 @@ def quantize_with_tune_hyperparams(
- `performance`: Symmetric quantization of weights and activations.
- `mixed`: Symmetric quantization of weights and asymmetric quantization of activations.
Default value is None. In this case, `mixed` preset is used for `transformer`
model type otherwise `performace`.
model type otherwise `performance`.
:param target_device: A target device the specificity of which will be taken
into account while compressing in order to obtain the best performance
for this type of device.
Expand Down
Loading

0 comments on commit 5e44302

Please sign in to comment.