From 20c764fe99cad55084dc16ded241903cc0dc3385 Mon Sep 17 00:00:00 2001 From: barriery Date: Fri, 31 Jul 2020 13:36:16 +0000 Subject: [PATCH] change uint of time to ms and update doc --- doc/PIPELINE_SERVING.md | 2 +- doc/PIPELINE_SERVING_CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/PIPELINE_SERVING.md b/doc/PIPELINE_SERVING.md index 1e7edb53..9710b283 100644 --- a/doc/PIPELINE_SERVING.md +++ b/doc/PIPELINE_SERVING.md @@ -95,7 +95,7 @@ The meaning of each parameter is as follows: | fetch_list | (list) List of fetch variable names for remote Paddle Serving Service. | | client_config | (str) The path of the client configuration file corresponding to the Paddle Serving Service. | | concurrency | (int) The number of concurrent OPs. | -| timeout | (int) The timeout time of the process operation, in seconds. If the value is less than zero, no timeout is considered. | +| timeout | (int) The timeout time of the process operation, in ms. If the value is less than zero, no timeout is considered. | | retry | (int) Timeout number of retries. When the value is 1, no retries are made. | | batch_size | (int) The expected batch_size of Auto-Batching, since building batches may time out, the actual batch_size may be less than the set value. | | auto_batching_timeout | (float) Timeout for building batches of Auto-Batching (the unit is ms). | diff --git a/doc/PIPELINE_SERVING_CN.md b/doc/PIPELINE_SERVING_CN.md index 12ff3d7f..bc24a03b 100644 --- a/doc/PIPELINE_SERVING_CN.md +++ b/doc/PIPELINE_SERVING_CN.md @@ -95,7 +95,7 @@ def __init__(name=None, | fetch_list | (list)远程 Paddle Serving Service 的 fetch 列表。 | | client_config | (str)Paddle Serving Service 对应的 Client 端配置文件路径。 | | concurrency | (int)OP 的并发数。 | -| timeout | (int)process 操作的超时时间,单位为秒。若该值小于零,则视作不超时。 | +| timeout | (int)process 操作的超时时间,单位为毫秒。若该值小于零,则视作不超时。 | | retry | (int)超时重试次数。当该值为 1 时,不进行重试。 | | batch_size | (int)进行 Auto-Batching 的期望 batch_size 大小,由于构建 batch 可能超时,实际 batch_size 可能小于设定值。 | | auto_batching_timeout | (float)进行 Auto-Batching 构建 batch 的超时时间,单位为毫秒。 | -- GitLab