[MRV2][XPU] add Model Runner V2 log (#42710)
Signed-off-by: zhenwei-intel <zhenwei.liu@intel.com>
This commit is contained in:
@@ -104,6 +104,9 @@ class XPUWorker(Worker):
|
||||
if torch.distributed.is_xccl_available():
|
||||
torch.distributed.all_reduce(torch.zeros(1).xpu())
|
||||
|
||||
if self.use_v2_model_runner:
|
||||
logger.info_once("Using V2 Model Runner")
|
||||
|
||||
# Set random seed.
|
||||
set_random_seed(self.model_config.seed)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user