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

[InferenceClient] update Replicate's and Together AI's lists of supported models #2813

Merged
merged 1 commit into from
Jan 31, 2025

Conversation

hanouticelina
Copy link
Contributor

@hanouticelina hanouticelina commented Jan 30, 2025

Adding:

Disclaimer: This PR was initially intended to implement a polling system for Replicate's (non-) blocking API endpoints. However, for this to work when routing through HF, we would need to have a GET endpoint implemented server-side for /api/inference-proxy/replicate/v1/predictions. Definitely not worth the hassle at this point 😄

@@ -138,7 +138,7 @@ def _prepare_payload(
# The following payload might work only for a subset of text-to-speech Replicate models.
payload: Dict[str, Any] = {
"input": {
"inputs": inputs,
"text": inputs,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@HuggingFaceDocBuilderDev

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.

Copy link
Contributor

@Wauplin Wauplin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Hopefully the last PR like this before getting a live API 🤗

@hanouticelina hanouticelina merged commit 37e79dc into main Jan 31, 2025
17 checks passed
@hanouticelina hanouticelina deleted the update-supported-models branch January 31, 2025 09:03
Copy link
Member

@julien-c julien-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

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

Successfully merging this pull request may close these issues.

4 participants