Commit 4e22d272 authored by 王敏's avatar 王敏
Browse files

去掉无效代码

parent d997afc4
......@@ -437,10 +437,6 @@ def launch_core_engines(
local_start_index=local_start_index or 0)
else:
local_engine_manager = None
import torch
torch.cuda.synchronize()
logger.info(("launch_core_engines end==============================="))
yield local_engine_manager, coordinator, addresses
# Now wait for engines to start.
......@@ -453,8 +449,6 @@ def launch_core_engines(
local_engine_manager,
coordinator.proc if coordinator else None,
)
torch.cuda.synchronize()
logger.info(("engine startup==============================="))
def wait_for_engine_startup(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment