You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This discussion was converted from issue #11314 on June 10, 2024 02:58.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
在使用paddle.inference进行推理时,大致过程如下:
我发现predictor.run的时间和copy_to_cpu的时间接近,有大量时间耗在了将结果从gpu复制到cpu的过程中。是否有什么方法,能够在当前batch数据进行copy_to_cpu时,下一个batch的数据进行predictor.run,从而节省推理时间、
Beta Was this translation helpful? Give feedback.
All reactions