Skip to content

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