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

feat: model_present in status #72

Open
toschoo opened this issue Feb 19, 2024 · 0 comments
Open

feat: model_present in status #72

toschoo opened this issue Feb 19, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@toschoo
Copy link
Contributor

toschoo commented Feb 19, 2024

Problem

Client applications want or even need to know if the current default model (from the config) is present or not, i.e. if a download will be necessary when the model is used. Currently, client applications abuse the progress field from the status. But that is not reliable.

Solution

Provide a flag in the status "model_present". This flag is set when edgen starts, when the config changes and after download. To test if the model is present, the hf-hub client should be used.

@toschoo toschoo self-assigned this Feb 19, 2024
@toschoo toschoo added the enhancement New feature or request label Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant