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

Load models from huggingface instead of blob storage #22

Merged
merged 6 commits into from
Jan 5, 2024

Conversation

carlosgjs
Copy link
Collaborator

During test I found loading models from the HuggingFace hub is faster, likely due to additional optimization/parallel loading vs loading from blob storage mounted as a file system. This always simplifies testing different models since they don't need to be copied over to blob storage first.

Some opportunistic/small changes too.

Copy link

codecov bot commented Dec 13, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (45bd148) 95.83% compared to head (8b029a1) 95.83%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #22   +/-   ##
=======================================
  Coverage   95.83%   95.83%           
=======================================
  Files           3        3           
  Lines         120      120           
=======================================
  Hits          115      115           
  Misses          5        5           

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

@carlosgjs carlosgjs marked this pull request as ready for review December 13, 2023 23:54
Copy link
Collaborator

@lsetiawan lsetiawan left a comment

Choose a reason for hiding this comment

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

I think the changes here all looks good, the only concern is the usage of Pypi tokens rather than trusted publishing.

@uwcdc
Copy link
Collaborator

uwcdc commented Jan 5, 2024

I agree with @lsetiawan Everything looks good, just take a look at the PyPI publishing.

@codecov-commenter
Copy link

codecov-commenter commented Jan 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (45bd148) 95.83% compared to head (9f1bb61) 95.83%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #22   +/-   ##
=======================================
  Coverage   95.83%   95.83%           
=======================================
  Files           3        3           
  Lines         120      120           
=======================================
  Hits          115      115           
  Misses          5        5           

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

@carlosgjs carlosgjs merged commit 89899bb into main Jan 5, 2024
9 checks passed
@carlosgjs carlosgjs deleted the carlosg/hfpath branch January 5, 2024 23:29
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.

5 participants