Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5d90b52

Browse files
PenghuiChengecharlaix
andauthoredMar 13, 2024··
Update optimum/intel/neural_compressor/configuration.py
Co-authored-by: Ella Charlaix <80481427+echarlaix@users.noreply.github.com>
1 parent 7bb1827 commit 5d90b52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎optimum/intel/neural_compressor/configuration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class INCConfig(BaseConfig):
3535

3636
def __init__(
3737
self,
38-
quantization=None,
38+
quantization: Optional[Union[Dict, _BaseQuantizationConfig, "WeightOnlyQuantConfig"]] = None,
3939
pruning: Optional[Union[Dict, _BaseQuantizationConfig]] = None,
4040
distillation: Optional[Union[Dict, _BaseQuantizationConfig]] = None,
4141
save_onnx_model: bool = False,

0 commit comments

Comments
 (0)
Please sign in to comment.