From 534def8237b6d3c703fb3f1cce507dfc48cce3cf Mon Sep 17 00:00:00 2001 From: xulongteng Date: Thu, 26 Sep 2019 20:59:20 +0800 Subject: [PATCH] add conf --- demo-serving/conf/model_toolkit.prototxt | 10 ++++++++++ demo-serving/conf/service.prototxt | 4 ++++ 2 files changed, 14 insertions(+) create mode 100644 demo-serving/conf/model_toolkit.prototxt create mode 100644 demo-serving/conf/service.prototxt diff --git a/demo-serving/conf/model_toolkit.prototxt b/demo-serving/conf/model_toolkit.prototxt new file mode 100644 index 00000000..88efaefb --- /dev/null +++ b/demo-serving/conf/model_toolkit.prototxt @@ -0,0 +1,10 @@ +engines { + name: "bert" + type: "FLUID_GPU_ANALYSIS_DIR" + reloadable_meta: "./data/model/paddle/fluid_time_file" + reloadable_type: "timestamp_ne" + model_data_path: "./data/model/paddle/fluid/bert" + runtime_thread_num: 0 + batch_infer_size: 0 + enable_batch_align: 0 +} diff --git a/demo-serving/conf/service.prototxt b/demo-serving/conf/service.prototxt new file mode 100644 index 00000000..e630669e --- /dev/null +++ b/demo-serving/conf/service.prototxt @@ -0,0 +1,4 @@ +services { + name: "BertService" + workflows: "workflow9" +} -- GitLab