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

fix: cast dtype for fp16 #801

Merged
merged 2 commits into from
Aug 10, 2022
Merged

fix: cast dtype for fp16 #801

merged 2 commits into from
Aug 10, 2022

Conversation

numb3r3
Copy link
Member

@numb3r3 numb3r3 commented Aug 10, 2022

No description provided.

@codecov
Copy link

codecov bot commented Aug 10, 2022

Codecov Report

Merging #801 (a72b3fd) into main (65032f0) will increase coverage by 2.31%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #801      +/-   ##
==========================================
+ Coverage   81.50%   83.81%   +2.31%     
==========================================
  Files          21       21              
  Lines        1438     1440       +2     
==========================================
+ Hits         1172     1207      +35     
+ Misses        266      233      -33     
Flag Coverage Δ
cas 83.81% <100.00%> (+2.31%) ⬆️

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

Impacted Files Coverage Δ
client/clip_client/__init__.py 100.00% <100.00%> (ø)
server/clip_server/__init__.py 100.00% <100.00%> (ø)
server/clip_server/model/model.py 78.92% <100.00%> (+0.09%) ⬆️
server/clip_server/model/clip_trt.py 85.71% <0.00%> (+16.32%) ⬆️
server/clip_server/model/trt_utils.py 83.51% <0.00%> (+27.47%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@ZiniuYu ZiniuYu linked an issue Aug 10, 2022 that may be closed by this pull request
@numb3r3 numb3r3 merged commit bb2c142 into main Aug 10, 2022
@numb3r3 numb3r3 deleted the fix-textencoder-fp16 branch August 10, 2022 05:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CLIPTorchEncoder "expected scalar type Float but found Half" error
1 participant