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

hardware args in docs for creating inference endpoints are outdated #2339

Closed
MoritzLaurer opened this issue Jun 14, 2024 · 1 comment
Closed

Comments

@MoritzLaurer
Copy link
Contributor

MoritzLaurer commented Jun 14, 2024

The arguments in the docs for creating inference endpoints still follow the old naming convention:

    instance_size="medium",
    instance_type="g5.2xlarge",

The correct new argument values are here: https://huggingface.co/docs/inference-endpoints/pricing
E.g.:

    instance_size="x1",
    instance_type="nvidia-a10g
@Wauplin
Copy link
Contributor

Wauplin commented Jun 14, 2024

Thanks for reporting @MoritzLaurer! This has been fixed by @co42 in #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.

@Wauplin Wauplin closed this as completed Jun 14, 2024
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

No branches or pull requests

2 participants