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

add warning tip that list_deployed_models only searches over cache #2241

Merged
merged 4 commits into from
Apr 23, 2024

Conversation

MoritzLaurer
Copy link
Contributor

Adding a small warning tip based on this internal discussion.

General thought: I'm wondering how useful the list_deployed_models method actually is for users if they don't know if the list is up to date and they need to check with InferenceClient.get_model_status anyways. Could we have a cached list that is updated every N minutes or something like that? No idea how complicated that would be to implemented in the backend. @Wauplin @Narsil

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Contributor

@Wauplin Wauplin left a comment

Choose a reason for hiding this comment

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

Thanks @MoritzLaurer!

(I also share concerns about the usability of this method TBH 😕)

@Wauplin Wauplin merged commit ee994cf into huggingface:main Apr 23, 2024
11 of 14 checks passed
@MoritzLaurer MoritzLaurer deleted the hf_hub-docs-updates branch April 23, 2024 08:40
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.

None yet

3 participants