Closed LuisBlanche closed 1 week ago
Hi @LuisBlanche, thanks for reporting! Documentation has been fixed in https://github.com/huggingface/huggingface_hub/pull/2282 and can be found on the main
documentation: https://huggingface.co/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.create_inference_endpoint. It will soon be shipped in next release :)
Describe the bug
When using
HfApi.create_inference_endpoint
, the example states gives this configuration for instance configuration : https://github.com/huggingface/huggingface_hub/blob/4c7aa33bac0b4fb59796e76fcc9cd7f5ff0fd426/src/huggingface_hub/hf_api.py#L7214C1-L7215C48It seems though that the API has changed and that the right arguments are now for the same machine :
Reproduction
Logs
System info