Skip to content

CI: fix torchaudio pinning +proper break in rnnt - #47422

Merged
vasqu merged 9 commits into
mainfrom
tarek-fix-quant-ci-torchaudio-abi
Jul 23, 2026
Merged

CI: fix torchaudio pinning +proper break in rnnt#47422
vasqu merged 9 commits into
mainfrom
tarek-fix-quant-ci-torchaudio-abi

Conversation

@tarekziade

@tarekziade tarekziade commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

CI

What does this PR do?

The quantization image was breaking because torchaudio was not pinned and the new version is not compatible
with the pinned torch.

The fix is similar to how the main docker does it.

This patch also harden the import in src/transformers/loss/loss_rnnt.py so the lib does not crash on a torch import and emits the correct error

@tarekziade
tarekziade requested a review from ydshieh July 20, 2026 06:24
@HuggingFaceDocBuilderDev

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.

@tarekziade tarekziade changed the title fix torchaudio pinning +proper break in rnnt CI: fix torchaudio pinning +proper break in rnnt Jul 20, 2026
@tarekziade

Copy link
Copy Markdown
Collaborator Author

@tarekziade

Copy link
Copy Markdown
Collaborator Author

@tarekziade

Copy link
Copy Markdown
Collaborator Author

Comment thread docker/transformers-quantization-latest-gpu/Dockerfile
Comment thread src/transformers/loss/loss_rnnt.py Outdated
Comment thread src/transformers/loss/loss_rnnt.py Outdated
@tarekziade
tarekziade marked this pull request as draft July 22, 2026 07:22
@tarekziade

Copy link
Copy Markdown
Collaborator Author

@IlyasMoutawwakil

Copy link
Copy Markdown
Member

great work ! should we merge ?

@tarekziade

Copy link
Copy Markdown
Collaborator Author

great work ! should we merge ?

It's green again, @vasqu I will let you review and merge if the change looks good to you now

@tarekziade
tarekziade marked this pull request as ready for review July 23, 2026 07:11
@vasqu
vasqu enabled auto-merge July 23, 2026 16:40
@vasqu

vasqu commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Just removed the todo from rnnt directly, the comment is more for the docker build tbh (and also already exists there). Merging now and thanks again

@IlyasMoutawwakil it should unblock your quantization PR iirc

@github-actions

Copy link
Copy Markdown
Contributor

CI recap

Dashboard: View test results in Grafana
Latest run: 29902381394:1
Result: success | Jobs: 15 | Tests: 172,445 | Failures: 0 | Duration: 13h 0m

@vasqu vasqu left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

forgot to approve 馃槅

@vasqu
vasqu added this pull request to the merge queue Jul 23, 2026
Merged via the queue into main with commit 73f4d22 Jul 23, 2026
112 checks passed
@vasqu
vasqu deleted the tarek-fix-quant-ci-torchaudio-abi branch July 23, 2026 17:07
stevhliu pushed a commit to stevhliu/transformers that referenced this pull request Jul 30, 2026
* fix torchaudio pinning +proper break in rnnt

* added test coverage for the ABI mistmatch

* added a smoke test

* bump to 2.11

* set the torch version for fouroversix

* tweaks

* reduce comment

* tweaks

* simplify the comment, docker should have the todo already

---------

Co-authored-by: vasqu <antonprogamer@gmail.com>
Sainava pushed a commit to Sainava/Sai-transformers that referenced this pull request Aug 3, 2026
* fix torchaudio pinning +proper break in rnnt

* added test coverage for the ABI mistmatch

* added a smoke test

* bump to 2.11

* set the torch version for fouroversix

* tweaks

* reduce comment

* tweaks

* simplify the comment, docker should have the todo already

---------

Co-authored-by: vasqu <antonprogamer@gmail.com>
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.

5 participants