Skip to content

Commit bca2063

Browse files
xin3heCopilot
andauthored
Update neural_compressor/common/base_config.py
Co-authored-by: Copilot <[email protected]>
1 parent f07ca2d commit bca2063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neural_compressor/common/base_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ def expand(self) -> List[BaseConfig]:
532532
# Assign the options to the `TuningParam` instance
533533
param_val = getattr(config, tuning_param.name)
534534
if param_val is not None:
535-
if param not in self.non_tunable_params and tuning_param.is_tunable(param_val):
535+
if tuning_param.name not in self.non_tunable_params and tuning_param.is_tunable(param_val):
536536
tuning_param.options = param_val
537537
tuning_param_list.append(tuning_param)
538538
else:

0 commit comments

Comments
 (0)