diff --git a/python/examples/pipeline/PaddleClas/DarkNet53/config.yml b/python/examples/pipeline/PaddleClas/DarkNet53/config.yml index 58eb80c2c6dc08e16c81667bdbea55e2f31dc8d7..19f14e7322e1a04d25ee1bdf931dda7645cd8cc0 100644 --- a/python/examples/pipeline/PaddleClas/DarkNet53/config.yml +++ b/python/examples/pipeline/PaddleClas/DarkNet53/config.yml @@ -11,12 +11,12 @@ dag: is_thread_op: False op: imagenet: + #并发数,is_thread_op=True时,为线程并发;否则为进程并发 + concurrency: 1 + #当op配置没有server_endpoints时,从local_service_conf读取本地服务配置 local_service_conf: - #并发数,is_thread_op=True时,为线程并发;否则为进程并发 - concurrency: 1 - #uci模型路径 model_config: DarkNet53/ppcls_model/ diff --git a/python/examples/pipeline/PaddleClas/HRNet_W18_C/config.yml b/python/examples/pipeline/PaddleClas/HRNet_W18_C/config.yml index c02ed38c2df8d5d623839e3d1dd5df274f95e96a..63eb72169f22b1668c63c451ae74715fe5d4f076 100644 --- a/python/examples/pipeline/PaddleClas/HRNet_W18_C/config.yml +++ b/python/examples/pipeline/PaddleClas/HRNet_W18_C/config.yml @@ -11,12 +11,12 @@ dag: is_thread_op: False op: imagenet: + #并发数,is_thread_op=True时,为线程并发;否则为进程并发 + concurrency: 1 + #当op配置没有server_endpoints时,从local_service_conf读取本地服务配置 local_service_conf: - #并发数,is_thread_op=True时,为线程并发;否则为进程并发 - concurrency: 1 - #uci模型路径 model_config: HRNet_W18_C/ppcls_model/ diff --git a/python/examples/pipeline/PaddleClas/MobileNetV1/config.yml b/python/examples/pipeline/PaddleClas/MobileNetV1/config.yml index 6be4d209d7fba90ae6f1b0e9e30f044bc0d6dd45..a20d2998748dd11f906a100742e7ee6b8924a083 100644 --- a/python/examples/pipeline/PaddleClas/MobileNetV1/config.yml +++ b/python/examples/pipeline/PaddleClas/MobileNetV1/config.yml @@ -11,12 +11,12 @@ dag: is_thread_op: False op: imagenet: + #并发数,is_thread_op=True时,为线程并发;否则为进程并发 + concurrency: 1 + #当op配置没有server_endpoints时,从local_service_conf读取本地服务配置 local_service_conf: - #并发数,is_thread_op=True时,为线程并发;否则为进程并发 - concurrency: 1 - #uci模型路径 model_config: MobileNetV1/ppcls_model/ diff --git a/python/examples/pipeline/PaddleClas/MobileNetV2/config.yml b/python/examples/pipeline/PaddleClas/MobileNetV2/config.yml index 2b229673a8800e5ef2d6c5a5b9c1c107fb2a1041..55c2e06d6ecfafdf822b78890f5f184c872eba2e 100644 --- a/python/examples/pipeline/PaddleClas/MobileNetV2/config.yml +++ b/python/examples/pipeline/PaddleClas/MobileNetV2/config.yml @@ -11,12 +11,12 @@ dag: is_thread_op: False op: imagenet: + #并发数,is_thread_op=True时,为线程并发;否则为进程并发 + concurrency: 1 + #当op配置没有server_endpoints时,从local_service_conf读取本地服务配置 local_service_conf: - #并发数,is_thread_op=True时,为线程并发;否则为进程并发 - concurrency: 1 - #uci模型路径 model_config: MobileNetV2/ppcls_model/ diff --git a/python/examples/pipeline/PaddleClas/MobileNetV3_large_x1_0/config.yml b/python/examples/pipeline/PaddleClas/MobileNetV3_large_x1_0/config.yml index c27cccc82278d80bbadd36c1494400c2b4bb249d..f04e1e90994ab7d80598f95e3f8f7a8077fadf84 100644 --- a/python/examples/pipeline/PaddleClas/MobileNetV3_large_x1_0/config.yml +++ b/python/examples/pipeline/PaddleClas/MobileNetV3_large_x1_0/config.yml @@ -11,12 +11,12 @@ dag: is_thread_op: False op: imagenet: + #并发数,is_thread_op=True时,为线程并发;否则为进程并发 + concurrency: 2 + #当op配置没有server_endpoints时,从local_service_conf读取本地服务配置 local_service_conf: - #并发数,is_thread_op=True时,为线程并发;否则为进程并发 - concurrency: 2 - #uci模型路径 model_config: MobileNetV3_large_x1_0/ppcls_model/ diff --git a/python/examples/pipeline/PaddleClas/ResNeXt101_vd_64x4d/config.yml b/python/examples/pipeline/PaddleClas/ResNeXt101_vd_64x4d/config.yml index df7bb45264a43a6816d081e567b5ee7d9366b54c..0f0facc5d6c799cfef0cd9f9797855684880b958 100644 --- a/python/examples/pipeline/PaddleClas/ResNeXt101_vd_64x4d/config.yml +++ b/python/examples/pipeline/PaddleClas/ResNeXt101_vd_64x4d/config.yml @@ -11,12 +11,12 @@ dag: is_thread_op: False op: imagenet: + #并发数,is_thread_op=True时,为线程并发;否则为进程并发 + concurrency: 1 + #当op配置没有server_endpoints时,从local_service_conf读取本地服务配置 local_service_conf: - #并发数,is_thread_op=True时,为线程并发;否则为进程并发 - concurrency: 1 - #uci模型路径 model_config: ResNeXt101_vd_64x4d/ppcls_model/ diff --git a/python/examples/pipeline/PaddleClas/ResNet50_vd/config.yml b/python/examples/pipeline/PaddleClas/ResNet50_vd/config.yml index f946dc3764a9c84e8efc3df594e4013d56b80c91..104504f41f98654139f5630f350a34ebd3729ba8 100644 --- a/python/examples/pipeline/PaddleClas/ResNet50_vd/config.yml +++ b/python/examples/pipeline/PaddleClas/ResNet50_vd/config.yml @@ -11,12 +11,12 @@ dag: is_thread_op: False op: imagenet: + #并发数,is_thread_op=True时,为线程并发;否则为进程并发 + concurrency: 1 + #当op配置没有server_endpoints时,从local_service_conf读取本地服务配置 local_service_conf: - #并发数,is_thread_op=True时,为线程并发;否则为进程并发 - concurrency: 1 - #uci模型路径 model_config: ResNet50_vd/ppcls_model/ diff --git a/python/examples/pipeline/PaddleClas/ResNet50_vd_FPGM/config.yml b/python/examples/pipeline/PaddleClas/ResNet50_vd_FPGM/config.yml index cc40ee56df90f674fc9fcce2affc4fb06e2f16a1..26087067dfb92dd95e56fb9475cb15350868e89b 100644 --- a/python/examples/pipeline/PaddleClas/ResNet50_vd_FPGM/config.yml +++ b/python/examples/pipeline/PaddleClas/ResNet50_vd_FPGM/config.yml @@ -11,12 +11,12 @@ dag: is_thread_op: False op: imagenet: + #并发数,is_thread_op=True时,为线程并发;否则为进程并发 + concurrency: 1 + #当op配置没有server_endpoints时,从local_service_conf读取本地服务配置 local_service_conf: - #并发数,is_thread_op=True时,为线程并发;否则为进程并发 - concurrency: 1 - #uci模型路径 model_config: ResNet50_vd_FPGM/ppcls_model/ diff --git a/python/examples/pipeline/PaddleClas/ResNet50_vd_KL/config.yml b/python/examples/pipeline/PaddleClas/ResNet50_vd_KL/config.yml index b728e4e2d81d9bbc5ba2c41d7c10ae364c78178d..9ea71c67fcb0cc2ff1caef2970de80758c0729aa 100644 --- a/python/examples/pipeline/PaddleClas/ResNet50_vd_KL/config.yml +++ b/python/examples/pipeline/PaddleClas/ResNet50_vd_KL/config.yml @@ -11,12 +11,12 @@ dag: is_thread_op: False op: imagenet: + #并发数,is_thread_op=True时,为线程并发;否则为进程并发 + concurrency: 1 + #当op配置没有server_endpoints时,从local_service_conf读取本地服务配置 local_service_conf: - #并发数,is_thread_op=True时,为线程并发;否则为进程并发 - concurrency: 1 - #uci模型路径 model_config: ResNet50_vd_KL/ppcls_model/ diff --git a/python/examples/pipeline/PaddleClas/ResNet50_vd_PACT/config.yml b/python/examples/pipeline/PaddleClas/ResNet50_vd_PACT/config.yml index b97581662a49bd04da6b73b11720ac1ebbee07db..22472052cbd9f46b5ed1fce0bb41c834e02597d2 100644 --- a/python/examples/pipeline/PaddleClas/ResNet50_vd_PACT/config.yml +++ b/python/examples/pipeline/PaddleClas/ResNet50_vd_PACT/config.yml @@ -11,12 +11,12 @@ dag: is_thread_op: False op: imagenet: + #并发数,is_thread_op=True时,为线程并发;否则为进程并发 + concurrency: 1 + #当op配置没有server_endpoints时,从local_service_conf读取本地服务配置 local_service_conf: - #并发数,is_thread_op=True时,为线程并发;否则为进程并发 - concurrency: 1 - #uci模型路径 model_config: ResNet50_vd_PACT/ppcls_model/ diff --git a/python/examples/pipeline/PaddleClas/ResNet_V2_50/config.yml b/python/examples/pipeline/PaddleClas/ResNet_V2_50/config.yml index d6a1d44af70e1a72dd24461ae2d4bc575a97a160..ead533a4b639aa84e65bc2a78b07aa95eb0075d9 100644 --- a/python/examples/pipeline/PaddleClas/ResNet_V2_50/config.yml +++ b/python/examples/pipeline/PaddleClas/ResNet_V2_50/config.yml @@ -11,12 +11,12 @@ dag: is_thread_op: False op: imagenet: + #并发数,is_thread_op=True时,为线程并发;否则为进程并发 + concurrency: 1 + #当op配置没有server_endpoints时,从local_service_conf读取本地服务配置 local_service_conf: - #并发数,is_thread_op=True时,为线程并发;否则为进程并发 - concurrency: 1 - #uci模型路径 model_config: resnet_v2_50_imagenet_model/ diff --git a/python/examples/pipeline/PaddleClas/ShuffleNetV2_x1_0/config.yml b/python/examples/pipeline/PaddleClas/ShuffleNetV2_x1_0/config.yml index eeea272e66a6aad5a9899f6e4624d2e058fd294f..bdfbff08e48a414297ca375753ce8bb335d4a311 100644 --- a/python/examples/pipeline/PaddleClas/ShuffleNetV2_x1_0/config.yml +++ b/python/examples/pipeline/PaddleClas/ShuffleNetV2_x1_0/config.yml @@ -11,12 +11,12 @@ dag: is_thread_op: False op: imagenet: + #并发数,is_thread_op=True时,为线程并发;否则为进程并发 + concurrency: 1 + #当op配置没有server_endpoints时,从local_service_conf读取本地服务配置 local_service_conf: - #并发数,is_thread_op=True时,为线程并发;否则为进程并发 - concurrency: 1 - #uci模型路径 model_config: ShuffleNetV2_x1_0/ppcls_model/ diff --git a/python/examples/pipeline/PaddleDetection/faster_rcnn/config.yml b/python/examples/pipeline/PaddleDetection/faster_rcnn/config.yml index 052b82ffd2f34e009fc04277bfb465150b331d22..0bcb6c288914acc852c82974eb7eacf560784255 100644 --- a/python/examples/pipeline/PaddleDetection/faster_rcnn/config.yml +++ b/python/examples/pipeline/PaddleDetection/faster_rcnn/config.yml @@ -5,9 +5,10 @@ dag: http_port: 18082 op: faster_rcnn: + concurrency: 2 + local_service_conf: client_type: local_predictor - concurrency: 2 device_type: 1 devices: '2' fetch_list: diff --git a/python/examples/pipeline/PaddleDetection/ppyolo_mbv3/config.yml b/python/examples/pipeline/PaddleDetection/ppyolo_mbv3/config.yml index abc3e3b0af737b8bcc624ad8d44cb4682aa87a37..0476d4ce6554af31e21d0c2ea0473e23de18523f 100644 --- a/python/examples/pipeline/PaddleDetection/ppyolo_mbv3/config.yml +++ b/python/examples/pipeline/PaddleDetection/ppyolo_mbv3/config.yml @@ -5,9 +5,10 @@ dag: http_port: 18082 op: ppyolo_mbv3: + concurrency: 10 + local_service_conf: client_type: local_predictor - concurrency: 10 device_type: 1 devices: '2' fetch_list: diff --git a/python/examples/pipeline/PaddleDetection/yolov3/config.yml b/python/examples/pipeline/PaddleDetection/yolov3/config.yml index 439746569bc0abe49e00e4508038e9d6f6feb382..20653280736316c87d50786e76db5ba842040525 100644 --- a/python/examples/pipeline/PaddleDetection/yolov3/config.yml +++ b/python/examples/pipeline/PaddleDetection/yolov3/config.yml @@ -5,9 +5,10 @@ dag: http_port: 18082 op: yolov3: + concurrency: 10 + local_service_conf: client_type: local_predictor - concurrency: 10 device_type: 1 devices: '2' fetch_list: diff --git a/python/examples/pipeline/bert/config.yml b/python/examples/pipeline/bert/config.yml index 6896ef5cb774cfeda4582d4542af9c75d5204651..a2b39264dd78ccb8f2936c7bd603d1c3d57b2574 100644 --- a/python/examples/pipeline/bert/config.yml +++ b/python/examples/pipeline/bert/config.yml @@ -1,17 +1,17 @@ +worker_num: 20 dag: is_thread_op: false tracer: interval_s: 10 http_port: 18082 +rpc_port: 9998 op: bert: + concurrency: 2 + local_service_conf: client_type: local_predictor - concurrency: 2 device_type: 1 devices: '2' fetch_list: - - pooled_output model_config: bert_seq128_model/ -rpc_port: 9998 -worker_num: 20 diff --git a/python/examples/pipeline/imagenet/config.yml b/python/examples/pipeline/imagenet/config.yml index 598db3d0c2636dd8199c26e9ace64c5cbb4fde85..600093b32e3747f778c50a51ccebbcd9507c1a20 100644 --- a/python/examples/pipeline/imagenet/config.yml +++ b/python/examples/pipeline/imagenet/config.yml @@ -11,12 +11,12 @@ dag: is_thread_op: False op: imagenet: + #并发数,is_thread_op=True时,为线程并发;否则为进程并发 + concurrency: 2 + #当op配置没有server_endpoints时,从local_service_conf读取本地服务配置 local_service_conf: - #并发数,is_thread_op=True时,为线程并发;否则为进程并发 - concurrency: 2 - #uci模型路径 model_config: ResNet50_vd_model diff --git a/python/examples/pipeline/simple_web_service/config.yml b/python/examples/pipeline/simple_web_service/config.yml index 837687dba4d3506993b0e705747c55da45a49a16..43455bcba397eacf78af018d2c0d2aa53606753b 100644 --- a/python/examples/pipeline/simple_web_service/config.yml +++ b/python/examples/pipeline/simple_web_service/config.yml @@ -11,12 +11,12 @@ dag: is_thread_op: False op: uci: + #并发数,is_thread_op=True时,为线程并发;否则为进程并发 + concurrency: 2 + #当op配置没有server_endpoints时,从local_service_conf读取本地服务配置 local_service_conf: - #并发数,is_thread_op=True时,为线程并发;否则为进程并发 - concurrency: 2 - #uci模型路径 model_config: uci_housing_model