hub-docs icon indicating copy to clipboard operation
hub-docs copied to clipboard

Missing "Legacy InferenceAPI client" section

Open SpecLad opened this issue 8 months ago • 0 comments

Bug description. On this page: https://huggingface.co/docs/huggingface_hub/guides/inference there is the following sentence:

Learn how to migrate to the new client in the Legacy InferenceAPI client section.

The same section is also referenced here: https://huggingface.co/docs/huggingface_hub/en/package_reference/inference_client:

Check out this guide to learn how to switch from InferenceAPI to InferenceClient in your scripts.

However, no such section exists.

Describe the expected behaviour The section should exist.

Additional context There's also a link to this section here:

https://github.com/huggingface/huggingface_hub/blob/ba701f618ce45231c87be718eda393363c614b23/src/huggingface_hub/inference_api.py#L99

SpecLad avatar May 15 '25 16:05 SpecLad