Closed MoritzLaurer closed 2 weeks ago
Thanks for reporting @MoritzLaurer! This has been fixed by @co42 in https://github.com/huggingface/huggingface_hub/pull/2282. Docs from main
have been updated (see https://huggingface.co/docs/huggingface_hub/main/en/package_reference/hf_api#huggingface_hub.HfApi.create_inference_endpoint) but it has not been officially released yet.
The arguments in the docs for creating inference endpoints still follow the old naming convention:
The correct new argument values are here: https://huggingface.co/docs/inference-endpoints/pricing E.g.: