Skip to content

Cherrypick #40892 Drop legacy options from HF Inference api - #40900

Merged
Amar3tto merged 1 commit into
release-2.78from
cp-40892
Oct 30, 2026
Merged

Amar3tto merged 1 commit into
release-2.78from
cp-40892

Conversation

@Amar3tto

Copy link
Copy Markdown
Collaborator

No description provided.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

📋 Review Summary

This PR cleanly cherry-picks #40892 onto the release-2.78 branch to remove the deprecated options payload parameter from Hugging Face Inference API requests in _InferenceAPIHandler.run_inference. The change is minimal, accurate, and ready to merge.

🔍 General Feedback

  • The cherry-pick matches the original fix in #40892 and properly omits the post-commit trigger file modification.
  • Note for future cleanup on master: InferenceAPIEmbeddings.get_ptransform_for_processing still populates self.inference_args with 'wait_for_model' and 'use_cache', which are now unused by _InferenceAPIHandler.run_inference.

💡 Tip: Comment /gemini review on this pull request to trigger a new Gemini code review.

@Amar3tto
Amar3tto merged commit 12652e6 into release-2.78 Oct 30, 2026
86 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants