Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Inference] fix bug of RunWithExternalStream API #64466

Merged
merged 3 commits into from
May 21, 2024

Conversation

ming1753
Copy link
Contributor

@ming1753 ming1753 commented May 20, 2024

PR Category

Inference

PR Types

Bug fixes

Description

Pcard-71500

修复RunWithExternalStream相关的2个bug:

  1. 新执行器在切换stream时候采用和build相同的逻辑,原有逻辑会造成切换stream时推理2次
  2. 修复dev_context由于std::launch::deferred导致的未及时同步的bug

Copy link

paddle-bot bot commented May 20, 2024

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

@ming1753 ming1753 closed this May 20, 2024
@ming1753 ming1753 reopened this May 20, 2024
Copy link
Contributor

@From00 From00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ming1753 ming1753 merged commit f2d2281 into PaddlePaddle:develop May 21, 2024
31 of 32 checks passed
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