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

Hf token #427

Merged
merged 8 commits into from
May 16, 2024
Merged

Hf token #427

merged 8 commits into from
May 16, 2024

Conversation

mitya52
Copy link
Member

@mitya52 mitya52 commented May 14, 2024

Done:

  • added hf token to credentials page
  • for each model we're checking it's status and returning repo_status in model_info (see /tab-host-models-get): it can be open, gated, not_found or unknown
  • open means full access without token, gated means token + accept on it's page, not_found means no repo and unknown for all other

TODO:

  • show message about gated models: weight download requires token and may be accepting conditions of the repo

@mitya52 mitya52 requested a review from oxyplay May 14, 2024 19:31
@mitya52 mitya52 changed the base branch from main to dev May 14, 2024 19:32
@mitya52 mitya52 mentioned this pull request May 14, 2024
@mitya52 mitya52 merged commit 2babb05 into dev May 16, 2024
2 checks passed
@mitya52 mitya52 deleted the hf-token branch May 16, 2024 16:47
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