提交 47a1a003 编写于 作者: T tangwei

update run version judge

上级 f84d82d0
...@@ -52,7 +52,7 @@ def set_runtime_envs(cluster_envs, engine_yaml): ...@@ -52,7 +52,7 @@ def set_runtime_envs(cluster_envs, engine_yaml):
def get_engine(engine): def get_engine(engine):
engine = engine.upper() engine = engine.upper()
if version.is_transpiler(): if is_transpiler():
run_engine = engines["TRAINSPILER"].get(engine, None) run_engine = engines["TRAINSPILER"].get(engine, None)
else: else:
run_engine = engines["PSLIB"].get(engine, None) run_engine = engines["PSLIB"].get(engine, None)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册