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

Avoid LruCache in Tiktoken when cacheSize specified is 0 #7016

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

stephentoub
Copy link
Member

cc: @tarekgh

Copy link

codecov bot commented Feb 20, 2024

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (f976424) 68.81% compared to head (77cc457) 68.80%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7016      +/-   ##
==========================================
- Coverage   68.81%   68.80%   -0.01%     
==========================================
  Files        1258     1258              
  Lines      250643   250649       +6     
  Branches    25606    25612       +6     
==========================================
- Hits       172479   172461      -18     
- Misses      71540    71555      +15     
- Partials     6624     6633       +9     
Flag Coverage Δ
Debug 68.80% <26.66%> (-0.01%) ⬇️
production 63.27% <26.66%> (-0.02%) ⬇️
test 88.44% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
src/Microsoft.ML.Tokenizers/Model/Tiktoken.cs 54.08% <26.66%> (-1.48%) ⬇️

... and 7 files with indirect coverage changes

Copy link
Member

@tarekgh tarekgh left a comment

Choose a reason for hiding this comment

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

LGTM

@tarekgh tarekgh merged commit eb66d73 into dotnet:main Feb 20, 2024
25 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants