Skip to content

[Bot] Update Inference Providers documentation #1788

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

Merged
merged 15 commits into from
Jul 1, 2025

Conversation

HuggingFaceInfra
Copy link
Contributor

This PR automatically upgrades the @huggingface/tasks and @huggingface/inference packages and regenerates the Inference Providers documentation by running:

cd scripts/inference-providers
pnpm update @huggingface/tasks@latest @huggingface/inference@latest
pnpm run generate

This PR was automatically created by the Update Inference Providers Documentation workflow.

Please review the changes before merging.

@Wauplin
Copy link
Contributor

Wauplin commented Jun 18, 2025

CI should be fixed by huggingface/doc-builder#574 when merged

@HuggingFaceInfra HuggingFaceInfra force-pushed the update-inference-providers-docs-automated-pr branch 6 times, most recently from 737deae to 6af7867 Compare June 25, 2025 03:31
@HuggingFaceInfra HuggingFaceInfra force-pushed the update-inference-providers-docs-automated-pr branch 4 times, most recently from bf7588a to a5e7c25 Compare June 29, 2025 03:35
@HuggingFaceInfra HuggingFaceInfra force-pushed the update-inference-providers-docs-automated-pr branch from a5e7c25 to 4a5cf0c Compare July 1, 2025 03:37
Comment on lines -123 to +131
for (const [modelId, modelMapping] of Object.entries(models)) {
if (modelMapping.status == "live") {
if (!PER_TASK_SUPPORTED_PROVIDERS[task]) {
PER_TASK_SUPPORTED_PROVIDERS[task] = [];
}
PER_TASK_SUPPORTED_PROVIDERS[task].push(provider);
break;
const hasLiveModel = Object.values(models).some(
(model) => model.status === "live",
);

if (hasLiveModel) {
if (!PER_TASK_SUPPORTED_PROVIDERS[task]) {
PER_TASK_SUPPORTED_PROVIDERS[task] = [];
}
PER_TASK_SUPPORTED_PROVIDERS[task].push(provider);
Copy link
Contributor

Choose a reason for hiding this comment

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

@Wauplin I added this to ensure that tasks with only staging models are not considered. the CI should be 🟢 now

Copy link
Contributor

Choose a reason for hiding this comment

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

thanks!

@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.

Comment on lines -123 to +131
for (const [modelId, modelMapping] of Object.entries(models)) {
if (modelMapping.status == "live") {
if (!PER_TASK_SUPPORTED_PROVIDERS[task]) {
PER_TASK_SUPPORTED_PROVIDERS[task] = [];
}
PER_TASK_SUPPORTED_PROVIDERS[task].push(provider);
break;
const hasLiveModel = Object.values(models).some(
(model) => model.status === "live",
);

if (hasLiveModel) {
if (!PER_TASK_SUPPORTED_PROVIDERS[task]) {
PER_TASK_SUPPORTED_PROVIDERS[task] = [];
}
PER_TASK_SUPPORTED_PROVIDERS[task].push(provider);
Copy link
Contributor

Choose a reason for hiding this comment

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

thanks!

@Wauplin Wauplin merged commit 81f1afc into main Jul 1, 2025
2 checks passed
@Wauplin Wauplin deleted the update-inference-providers-docs-automated-pr branch July 1, 2025 16:33
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