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

benchmark llama worker=1 #8305

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

wanghuancoder
Copy link
Contributor

PR types

Others

PR changes

Others

Description

llama模型,如果worker=0,会导致线程间gil锁竞争。影响模型性能。

Copy link

paddle-bot bot commented Apr 22, 2024

Thanks for your contribution!

Copy link

codecov bot commented Apr 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.33%. Comparing base (2273ee7) to head (3fe9eb2).
Report is 35 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #8305      +/-   ##
===========================================
+ Coverage    55.15%   55.33%   +0.17%     
===========================================
  Files          601      614      +13     
  Lines        91764    95341    +3577     
===========================================
+ Hits         50611    52753    +2142     
- Misses       41153    42588    +1435     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@wawltor wawltor left a comment

Choose a reason for hiding this comment

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

LGTM

@wawltor wawltor merged commit 273c593 into PaddlePaddle:develop Apr 24, 2024
9 of 11 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