Skip to content

Update daily CI Docker image to torch 2.13.0 / CUDA 13.0 - #47738

Merged
ydshieh merged 1 commit into
mainfrom
torch_2.13_for_daily_ci
Aug 3, 2026
Merged

ydshieh merged 1 commit into
mainfrom
torch_2.13_for_daily_ci

Conversation

@ydshieh

@ydshieh ydshieh commented Aug 3, 2026 •

Copy link
Copy Markdown
Collaborator

CI

Summary

  • Bumps the transformers-all-latest-gpu Docker image from torch 2.11.0 / CUDA 12.6 to torch 2.13.0 / CUDA 13.0
  • Updates TORCHCODEC from 0.11.0 → 0.15.0 to match
  • Pins torchaudio==2.11.0 for torch >= 2.11.0: torchaudio is in maintenance mode and 2.11 is its final release — it is compatible with torch 2.11+ and does not pin torch to a specific version
  • Adds a warning comment explaining that torchaudio only publishes wheels for the CUDA version it was released with (e.g. 2.11.0 only has a cu130 build); installing torch with a different CUDA suffix would silently keep the mismatched torchaudio build and cause a RuntimeError at import time
  • Adds explicit CUDA=cu126 build-arg to the existing torch 2.8.0 CI job in build-docker-images.yml so it continues to work now that the Dockerfile default changed

Notes

  • Why cu130 and not cu132? torchaudio 2.11.0 only has a cu130 wheel — there is no cu132 build. Installing torch+cu132 alongside torchaudio+cu130 causes torchaudio._check_cuda_version() to raise a RuntimeError on import, which propagates through the transformers lazy-module system and surfaces as a misleading ModuleNotFoundError: Could not import module 'is_clearml_available'.

🤖 Generated with Claude Code

@ydshieh
ydshieh force-pushed the torch_2.13_for_daily_ci branch from 3ebc393 to 8c88cea Compare August 3, 2026 15:05
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

CI recap

Dashboard: View test results in Grafana
Latest run: 30825863917
Result: success | Grafana metrics are not available yet.

@ydshieh
ydshieh merged commit d79d0c1 into main Aug 3, 2026
29 checks passed
@ydshieh
ydshieh deleted the torch_2.13_for_daily_ci branch August 3, 2026 15:19
@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.

ydshieh added a commit that referenced this pull request Aug 20, 2026
…uda sm_80)

`test_llama_small_model_integration_interleaved_images_videos` started
failing for `("cuda", 8)` (output[0]) after the CI docker was updated
to torch 2.13.0 / CUDA 13.0 (commit `d79d0c1ed3`, PR #47738).

Verified: both the passing commit (`b3a36037d3`, Aug 3 CI run) and the
failing commit (`ff2421c67f`, Aug 4 CI run) produce identical actual
output when run under the current docker. No code regression; the drift
is purely from the torch version change.

New value matches the existing `("cuda", 7)` expected string.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
ydshieh added a commit that referenced this pull request Aug 20, 2026
…a sm_80) (#48153)

* [InternVL] Fix stale expected values for Llama integration tests (cuda sm_80)

The expected logits and generated text for `("cuda", 8)` (Ampere GPUs)
in `test_llama_small_model_integration_forward` and
`test_llama_small_model_integration_generate_text_only` were stale
after the CI docker was updated to torch 2.10 (commit c0fe616,
"Update Nvidia CI docker file to use torch 2.10").

The actual model outputs are identical across all code commits; the
drift is purely due to the torch version change.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

* [InternVL] Fix stale expected value for interleaved test output[0] (cuda sm_80)

`test_llama_small_model_integration_interleaved_images_videos` started
failing for `("cuda", 8)` (output[0]) after the CI docker was updated
to torch 2.13.0 / CUDA 13.0 (commit `d79d0c1ed3`, PR #47738).

Verified: both the passing commit (`b3a36037d3`, Aug 3 CI run) and the
failing commit (`ff2421c67f`, Aug 4 CI run) produce identical actual
output when run under the current docker. No code regression; the drift
is purely from the torch version change.

New value matches the existing `("cuda", 7)` expected string.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

* [InternVL] Remove ("cuda", 7) entries from all integration test Expectations

cuda sm_70 (Volta) is no longer in the CI runner fleet; remove all
stale entries to keep the test file clean.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

* [InternVL] Add ("cuda", 8) entries to all Expectations blocks

After removing ("cuda", 7) entries, blocks with only xpu/rocm keys left
cuda sm_80 with no match (ValueError) or the wrong rocm fallback. Add
explicit ("cuda", 8) entries with the correct values to all affected
Expectations blocks.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>

---------

Co-authored-by: ydshieh <[email protected]>
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.

2 participants