Skip to content

Commit

Permalink
fix precision for onnly pruning
Browse files Browse the repository at this point in the history
  • Loading branch information
wonjuleee committed Jun 2, 2022
1 parent e9e58f9 commit 561daf0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def _set_attributes_by_hyperparams(self):
if not quantization and pruning:
self._nncf_preset = "nncf_pruning"
self._optimization_methods = [OptimizationMethod.FILTER_PRUNING]
self._precision = [ModelPrecision.INT8]
self._precision = self._precision_from_config
return
raise RuntimeError('Not selected optimization algorithm')

Expand Down

0 comments on commit 561daf0

Please sign in to comment.