forked from mindspore-Ecosystem/mindspore
!2066 change parameter init_data log level to debug
Merge pull request !2066 from yihuaijie/master
This commit is contained in:
commit
30b19165a2
|
@ -362,7 +362,7 @@ class _Executor:
|
|||
if not auto_parallel_mode:
|
||||
param.init_data()
|
||||
elif key not in obj.parameter_layout_dict:
|
||||
logger.info("Layout dict does not contain the key %s.", key)
|
||||
logger.debug("Layout dict does not contain the key %s.", key)
|
||||
param.init_data(set_sliced=True)
|
||||
else:
|
||||
layout = obj.parameter_layout_dict[key]
|
||||
|
|
|
@ -305,7 +305,7 @@ class Cell:
|
|||
logger.info("layout dict does not contain the key %s", key)
|
||||
continue
|
||||
if self.parameters_dict()[key].sliced:
|
||||
logger.info("Param %s is already sliced.", key)
|
||||
logger.debug("Param %s is already sliced.", key)
|
||||
continue
|
||||
layout = self.parameter_layout_dict[key]
|
||||
new_tensor = _load_tensor_by_layout(tensor, layout)
|
||||
|
@ -318,7 +318,7 @@ class Cell:
|
|||
logger.info("layout dict does not contain the key %s", key)
|
||||
continue
|
||||
if params[key].sliced:
|
||||
logger.info("Param %s is already sliced.", key)
|
||||
logger.debug("Param %s is already sliced.", key)
|
||||
continue
|
||||
layout = self.parameter_layout_dict[key]
|
||||
new_tensor = _load_tensor_by_layout(tensor, layout)
|
||||
|
@ -484,7 +484,7 @@ class Cell:
|
|||
if not auto_parallel_mode:
|
||||
param.init_data()
|
||||
elif param.name not in self.parameter_layout_dict:
|
||||
logger.info("Layout dict does not contain the key %s.", param.name)
|
||||
logger.debug("Layout dict does not contain the key %s.", param.name)
|
||||
param.init_data(set_sliced=True)
|
||||
else:
|
||||
layout = self.parameter_layout_dict[param.name]
|
||||
|
|
Loading…
Reference in New Issue