提交 3fb82b2d 编写于 作者: M MRXLT 提交者: GitHub

Merge pull request #147 from guru4elephant/fluid_time_file

add auto generation of fluid_time_file
......@@ -101,6 +101,7 @@ class Server(object):
self.model_config_path = model_config_path
self.engine.name = "general_model"
self.engine.reloadable_meta = model_config_path + "/fluid_time_file"
os.system("touch {}".format(self.engine.reloadable_meta))
self.engine.reloadable_type = "timestamp_ne"
self.engine.runtime_thread_num = 0
self.engine.batch_infer_size = 0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册