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

download_pretrained for demo API does not cache downloaded files/models #59

Open
jonheng opened this issue Sep 19, 2022 · 0 comments
Open

Comments

@jonheng
Copy link
Contributor

jonheng commented Sep 19, 2022

To allow the containers to start up quicker, models and files were downloaded and cached during build time.

Recent changes in the huggingface transformers package has broken this functionality:

  • Released in v4.22.0
  • Issue

Possible choices moving forward:

  • Write a simple caching utility function
  • Stick to versions of transformers before 4.22.0
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

No branches or pull requests

1 participant