huggingface_hub
huggingface_hub copied to clipboard
Support `/info` and `/health` routes in InferenceClient
Close https://github.com/huggingface/huggingface_hub/issues/1819
cc @MoritzLaurer @thomwolf who requested it
Notes:
get_endpoint_infoonly available on TGI/TEI-powered modelshealth_checkonly available on TGI/TEI-powered models and only in InferenceEndpoint/local deployment. For serverless InferenceAPi, better to useget_model_status.
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.
related PR merged in TGI: https://github.com/huggingface/text-generation-inference/pull/1854
Thanks for linking and thanks for reviewing/merging the other PR @drbh!
Thanks for the review!