Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
06379abf
Commit
06379abf
authored
May 12, 2021
by
tink2123
Browse files
add qps
parent
761805a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
deploy/pdserving/config.yml
deploy/pdserving/config.yml
+3
-3
No files found.
deploy/pdserving/config.yml
View file @
06379abf
...
@@ -6,7 +6,7 @@ http_port: 9998
...
@@ -6,7 +6,7 @@ http_port: 9998
#worker_num, 最大并发数。当build_dag_each_worker=True时, 框架会创建worker_num个进程,每个进程内构建grpcSever和DAG
#worker_num, 最大并发数。当build_dag_each_worker=True时, 框架会创建worker_num个进程,每个进程内构建grpcSever和DAG
##当build_dag_each_worker=False时,框架会设置主线程grpc线程池的max_workers=worker_num
##当build_dag_each_worker=False时,框架会设置主线程grpc线程池的max_workers=worker_num
worker_num
:
5
worker_num
:
10
#build_dag_each_worker, False,框架在进程内创建一条DAG;True,框架会每个进程内创建多个独立的DAG
#build_dag_each_worker, False,框架在进程内创建一条DAG;True,框架会每个进程内创建多个独立的DAG
build_dag_each_worker
:
False
build_dag_each_worker
:
False
...
@@ -42,7 +42,7 @@ op:
...
@@ -42,7 +42,7 @@ op:
#计算硬件ID,当devices为""或不写时为CPU预测;当devices为"0", "0,1,2"时为GPU预测,表示使用的GPU卡
#计算硬件ID,当devices为""或不写时为CPU预测;当devices为"0", "0,1,2"时为GPU预测,表示使用的GPU卡
devices
:
"
0"
devices
:
"
0"
ir_optim
:
Fals
e
ir_optim
:
Tru
e
rec
:
rec
:
#并发数,is_thread_op=True时,为线程并发;否则为进程并发
#并发数,is_thread_op=True时,为线程并发;否则为进程并发
concurrency
:
4
concurrency
:
4
...
@@ -68,4 +68,4 @@ op:
...
@@ -68,4 +68,4 @@ op:
#计算硬件ID,当devices为""或不写时为CPU预测;当devices为"0", "0,1,2"时为GPU预测,表示使用的GPU卡
#计算硬件ID,当devices为""或不写时为CPU预测;当devices为"0", "0,1,2"时为GPU预测,表示使用的GPU卡
devices
:
"
0"
devices
:
"
0"
ir_optim
:
Fals
e
ir_optim
:
Tru
e
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment