Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
Signed-off-by: Xin He <[email protected]>
  • Loading branch information
xin3he committed Jan 13, 2023
1 parent ed2b7c8 commit 0be62f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neural_compressor/strategy/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ def next_tune_cfg_fp8(self):

all_op_type = set()
kl_op_type = set()
new_op_tuning_cfg = deepcopy(self.cur_best_tuning_cfg)
for k ,v in new_op_tuning_cfg.items():
op_tuning_cfg = deepcopy(self.cur_best_tuning_cfg)
for k ,v in op_tuning_cfg.items():
if len(k) != 2:
continue
op_name, op_type = k
Expand Down

0 comments on commit 0be62f9

Please sign in to comment.