Skip to content

Commit 34a2c8f

Browse files
xinhe3XuehaoSun
authored andcommitted
fix typo
Signed-off-by: Xin He <[email protected]>
1 parent 6840f2c commit 34a2c8f

File tree

1 file changed

+1
-1
lines changed
  • neural_compressor/torch/algorithms/layer_wise

1 file changed

+1
-1
lines changed

neural_compressor/torch/algorithms/layer_wise/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def clean_module_weight(module):
355355
else:
356356
param_cls = type(submodule._parameters[n])
357357
kwargs = submodule._parameters[n].__dict__
358-
if is_hpu_available:
358+
if is_hpu_available():
359359
from habana_frameworks.torch.core import weight_sharing
360360

361361
if param_cls == weight_sharing.HabanaParameterWrapper:

0 commit comments

Comments
 (0)