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

Update HF_TOKEN detection and model download #21

Merged
merged 11 commits into from
Jan 23, 2025
Merged

Conversation

Hugoch
Copy link
Member

@Hugoch Hugoch commented Jan 16, 2025

What does this PR do?

  1. For best security practices HF_TOKEN should be first pulled out from the environment and maybe then from configuration file, this PR ensures it.
  2. Model download is handled manually. This PR relies on huggingface_hub lib to download the model using hf_transfer simplifying the current process.

@Hugoch Hugoch requested review from 3outeille and zzhhjjj January 16, 2025 22:15
@3outeille
Copy link
Member

hi @Hugoch, thanks for your PR, I am going to review it

@3outeille
Copy link
Member

lgtm !

@3outeille 3outeille merged commit fe88041 into main Jan 23, 2025
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