Skip to content

[Hot-fix] [Inference] Remove Together ASR task to drop urllib3 dependency#4248

Merged
Wauplin merged 1 commit into
mainfrom
fix/remove-together-asr-urllib3
May 21, 2026
Merged

[Hot-fix] [Inference] Remove Together ASR task to drop urllib3 dependency#4248
Wauplin merged 1 commit into
mainfrom
fix/remove-together-asr-urllib3

Conversation

@Wauplin

@Wauplin Wauplin commented May 21, 2026

Copy link
Copy Markdown
Collaborator

Removes TogetherAutomaticSpeechRecognitionTask entirely along with all supporting code (_coerce_multipart, the ASR route in _prepare_route).

ASR task was added in #4164 and released in 1.6.0. The urllib3 import is breaking since it's not a dependency as reported internally on slack. We will make a patch release for this one now and will add ASR back later with a urllib3-free solution.

This is a hotfix — Together ASR support can be re-added later without the urllib3 dependency.

🤖 Generated with Claude Code


Note

Medium Risk
Removes Together automatic-speech-recognition support and its tests, which is a user-visible/breaking capability change for that provider. Otherwise changes are straightforward deletions with low likelihood of introducing new runtime bugs.

Overview
Removes Together automatic speech recognition support from the inference provider layer.

Deletes TogetherAutomaticSpeechRecognitionTask (including multipart payload building and the /v1/audio/transcriptions route), removes the task from the Together provider registry, and drops the related imports/tests—eliminating the need for the extra urllib3 dependency that was only used for multipart encoding.

Reviewed by Cursor Bugbot for commit de6d6f3. Bugbot is set up for automated code reviews on this repo. Configure here.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Wauplin Wauplin changed the title [Inference] Remove Together ASR task to drop urllib3 dependency [Hot-fix] [Inference] Remove Together ASR task to drop urllib3 dependency May 21, 2026
@Wauplin Wauplin requested a review from hanouticelina May 21, 2026 18:36
@Wauplin Wauplin merged commit 2003e8b into main May 21, 2026
20 of 21 checks passed
@Wauplin Wauplin deleted the fix/remove-together-asr-urllib3 branch May 21, 2026 18:37
Wauplin added a commit that referenced this pull request May 21, 2026
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@bot-ci-comment

Copy link
Copy Markdown

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.

@huggingface-hub-bot

Copy link
Copy Markdown
Contributor

This PR has been shipped as part of the v1.16.1 release.

@Wauplin

Wauplin commented May 21, 2026

Copy link
Copy Markdown
Collaborator Author

cc @nbroad1881 for viz'

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.

1 participant