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 scale_to_zero_timeout parameter to HFApi.create/update_inference_endpoint #2463

Merged
merged 3 commits into from
Aug 20, 2024

Conversation

hommayushi3
Copy link
Contributor

Added the ability to pass a "scale_to_zero_timeout" to both create_inference_endpoint and update_inference_endpoint on HFApi. Addresses #2462.

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.

Awesome! Thanks @hommayushi3 for the clean PR. Adding this parameters makes perfect sense yes. I'll merge this PR as soon as the CI passes.

@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.

@Wauplin
Copy link
Contributor

Wauplin commented Aug 20, 2024

Failing tests in the CI are unrelated so time to merge!

@Wauplin Wauplin merged commit 0231357 into huggingface:main Aug 20, 2024
12 of 14 checks passed
@julien-c
Copy link
Member

julien-c commented Sep 2, 2024

thanks a lot for this PR @hommayushi3!

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.

4 participants