Skip to content

Comments

DEBUG INFER THREADING#10896

Closed
panyx0718 wants to merge 1 commit intoPaddlePaddle:developfrom
panyx0718:infer
Closed

DEBUG INFER THREADING#10896
panyx0718 wants to merge 1 commit intoPaddlePaddle:developfrom
panyx0718:infer

Conversation

@panyx0718
Copy link
Contributor

@panyx0718 panyx0718 commented May 24, 2018

Opened a 100 thread for running inference in parallel (Each runs Executor.run). However, only CPU is running in parallel, gpu is serial

image

@chengduoZH
Copy link
Contributor

chengduoZH commented May 24, 2018

gpu is serial

This is normal. GPU only has one computation engine, so all the tasks in all streams must be executed one by one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants