From eeb98a022108c7c845b8d59a026269040d7dcaf4 Mon Sep 17 00:00:00 2001 From: wangguibao Date: Fri, 7 Jun 2019 18:18:49 +0800 Subject: [PATCH] Add documentation for runtime_thread_num --- doc/SERVING_CONFIGURE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/SERVING_CONFIGURE.md b/doc/SERVING_CONFIGURE.md index f5887f5c..f34436a0 100644 --- a/doc/SERVING_CONFIGURE.md +++ b/doc/SERVING_CONFIGURE.md @@ -165,7 +165,7 @@ reloadable_type: 检查reload条件:timestamp_ne/timestamp_gt/md5sum/revision/ model_data_path: 模型文件路径 -runtime_thread_num: 若大于0, 则启用bsf多线程调度框架,在每个预测bthread worker内启动多线程预测。 +runtime_thread_num: 若大于0, 则启用bsf多线程调度框架,在每个预测bthread worker内启动多线程预测。要注意的是,当启用worker内多线程预测,workflow中OP需要用Serving框架的BatchTensor类做预测的输入和输出 (predictor/framework/infer_data.h, `class BatchTensor`)。 batch_infer_size: 启用bsf多线程预测时,每个预测线程的batch size -- GitLab