Skip to content

使用配置文件运行时,如何指定并发任务量? #1889

Answered by tonysy
qing-yuan233 asked this question in Q&A
Discussion options

You must be logged in to vote
infer = dict(
    partitioner=dict(type=NumWorkerPartitioner, num_worker=8),
    runner=dict(type=LocalRunner,
                max_num_workers=8,
                task=dict(type=OpenICLInferTask)),
)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by qing-yuan233
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants