Skip to content

[Core] Update PyTorch to 2.13.0, torchvision to 0.28.0, triton to 3.7.1 - #48155

Merged
vllm-bot merged 2 commits into
vllm-project:mainfrom
atalman:update-pytorch-2.13.0
Jul 23, 2026
Merged

[Core] Update PyTorch to 2.13.0, torchvision to 0.28.0, triton to 3.7.1#48155
vllm-bot merged 2 commits into
vllm-project:mainfrom
atalman:update-pytorch-2.13.0

Conversation

@atalman

@atalman atalman commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Purpose

Update the PyTorch ecosystem to the released 2.13.0 on the production channel (download.pytorch.org/whl/...). Everything is released, so there are no test-channel index URLs — pure production bump, same approach as the 2.12.1 production PR #45082.

  • torch: 2.11.0 → 2.13.0
  • torchvision: 0.26.0 → 0.28.0
  • triton: 3.6.0 → 3.7.1 (matches torch 2.13.0 Requires-Dist: triton==3.7.1)
  • torchaudio: stays at 2.11.0 (latest published)
  • requirements/test/cuda.txt nvidia pins → 2.13.0 deps (cudnn 9.20.0.48, cusparselt 0.8.1, nccl 2.29.7)

torch-2.13 test adaptations (ported from #45731, production-adjusted)

Excluded (per scope)

  • ROCm: no requirements/build/rocm.txt bump, no Dockerfile.rocm, no install_flash_attn_rocm.sh, no ROCm tests.
  • s390x (docker/Dockerfile.s390x) and the verify_torch_wheel docker step: excluded from this PR.
  • Test-channel plumbing from [Core] Update PyTorch to 2.13.0, torchvision to 0.28.0, triton to 3.7.1 (test channel) #45731 (/whl/test/ URLs, UV_NO_VERIFY_HASHES, --refresh-package, the CPU Dockerfile.cpu recompile hack, python_only_compile.sh test index, versions.json test base) — not needed now that 2.13.0 is on the production index.

Why not a duplicate

Production-channel follow-up to the test-channel RC PR #45731 (which can be closed once this lands), mirroring how #45082 (2.12.1 prod) followed #42848 (2.12 test).

Test plan

Version + CI-config bump; validated by this PR's CI on the production 2.13.0 wheels. Full vLLM build/test not run locally (needs GPU/CUDA). requirements/test/cuda.txt (pip-compiled) was hand-bumped for the torch ecosystem + changed nvidia pins; regenerate with uv pip compile if the resolver shifts further transitive deps.

AI assistance (Claude) was used for this change.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This pull request is from a fork — automated review is disabled. A repository maintainer can comment @claude review to run a one-time review.

@mergify mergify Bot added the cpu Related to CPU backends label Jul 9, 2026
@atalman
atalman force-pushed the update-pytorch-2.13.0 branch from c382886 to d102fca Compare July 9, 2026 18:49
@mergify mergify Bot added multi-modality Related to multi-modality (#4194) v1 kv-connector labels Jul 9, 2026
@atalman
atalman force-pushed the update-pytorch-2.13.0 branch from d102fca to 0c49a0f Compare July 9, 2026 18:52
@mergify

mergify Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

This pull request has merge conflicts that must be resolved before it can be
merged. Please rebase the PR, @atalman.

https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork

PyTorch 2.13.0 is published to the production PyTorch index
(download.pytorch.org/whl/...), so this is a pure production-channel
version bump -- no test-channel index URLs -- same approach as vllm-project#45082.

- torch:       2.11.0 -> 2.13.0
- torchvision: 0.26.0 -> 0.28.0
- triton:      3.6.0  -> 3.7.1  (matches torch 2.13.0 Requires-Dist: triton==3.7.1)
- torchaudio:  stays at 2.11.0 (latest published torchaudio)

torch-2.13 test adaptations ported from the test-channel PR vllm-project#45731
(production-adjusted; ROCm excluded):
- CPU compat test: use --enforce-eager instead of TORCH_COMPILE_DISABLE.
- xfail qwen2audio text-then-audio prompt_embeds (pytorch/pytorch#184431).
- qwen2_vl multi-image: cap CPU max_tokens / widen logprobs for torch 2.13
  numerical drift (pytorch/pytorch#187735).
- nixl_ep import: xfail on ABI mismatch pending rebuild (pytorch/pytorch#187727).

Production-channel follow-up to vllm-project#45731.

Co-authored-by: Claude
Signed-off-by: Andrey Talman <atalman@users.noreply.github.com>
@atalman
atalman force-pushed the update-pytorch-2.13.0 branch from ac3e888 to ea724aa Compare July 14, 2026 12:55
@atalman

atalman commented Jul 14, 2026

Copy link
Copy Markdown
Contributor Author

Hi @khluu this signal looks good. We can try to land this ? https://buildkite.com/vllm/ci/builds/78018#_

Two pre-commit hooks failed on the torch 2.13 bump:
- pip-compile: requirements/test/cuda.txt was stale (cuda-toolkit==13.0.3 ->
  13.0.3.0; nvidia-cuda-nvrtc now also 'via nvidia-cublas').
- validate-docker-versions: docker/versions.json was out of sync after the
  Dockerfile CUDA_VERSION bump 13.0.2 -> 13.0.3 (flows into CUDA_VERSION,
  BUILD_BASE_IMAGE, FINAL_BASE_IMAGE). Regenerated from the Dockerfile ARGs.

Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Andrey Talman <atalman@users.noreply.github.com>
@LucasWilkinson LucasWilkinson added the ready ONLY add when PR is ready to merge/full CI is needed label Jul 22, 2026
@vllm-bot
vllm-bot merged commit 75ccdf3 into vllm-project:main Jul 23, 2026
239 of 242 checks passed
@github-project-automation github-project-automation Bot moved this to Done in NVIDIA Jul 23, 2026
edwinlim0919 pushed a commit to chaeminlim-mb/vllm that referenced this pull request Jul 29, 2026
….1 (vllm-project#48155)

Signed-off-by: Andrey Talman <atalman@users.noreply.github.com>
Co-authored-by: Andrey Talman <atalman@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
QiliangCui added a commit to vllm-project/tpu-inference that referenced this pull request Jul 31, 2026
vLLM main moved to torch 2.13.0 / torchvision 0.28.0 in
vllm-project/vllm#48155, but tpu-inference has no
direct torch pin and the torchvision==0.25.0 pin kept the TPU image on
torch 2.10.0+cpu. Align with vLLM by bumping torchvision to 0.28.0 and
adding an explicit torch==2.13.0 pin so the version is no longer implicit.

Signed-off-by: Qiliang Cui <cuiq@google.com>
QiliangCui added a commit to vllm-project/tpu-inference that referenced this pull request Jul 31, 2026
vLLM main moved off torch 2.11 (currently 2.13.0 since
vllm-project/vllm#48155), while tpu-inference has
no direct torch pin and the torchvision==0.25.0 pin kept the TPU image on
torch 2.10.0+cpu. torch 2.13 is currently blocked: torchax (all released
versions incl. 0.0.14 nightlies) fails at import because torch 2.13
removed the aten.prod.dim_Dimname overload referenced in torchax amp.py.
torch 2.12.1 retains the Dimname overloads and torchax 0.0.13 imports
cleanly, so move to 2.12.1 now and revisit 2.13 when torchax adapts.
torchvision must move in lockstep (0.27.1 hard-pins torch==2.12.1).

Signed-off-by: Qiliang Cui <cuiq@google.com>
QiliangCui added a commit to vllm-project/tpu-inference that referenced this pull request Aug 1, 2026
vLLM main moved off torch 2.11 (currently 2.13.0 since
vllm-project/vllm#48155), while tpu-inference has
no direct torch pin and the torchvision==0.25.0 pin kept the TPU image on
torch 2.10.0+cpu. torch 2.13 is currently blocked: torchax (all released
versions incl. 0.0.14 nightlies) fails at import because torch 2.13
removed the aten.prod.dim_Dimname overload referenced in torchax amp.py.
torch 2.12.1 retains the Dimname overloads and torchax 0.0.13 imports
cleanly, so move to 2.12.1 now and revisit 2.13 when torchax adapts.
torchvision must move in lockstep (0.27.1 hard-pins torch==2.12.1).

Signed-off-by: Qiliang Cui <cuiq@google.com>
itej89 pushed a commit to itej89/vllm that referenced this pull request Aug 4, 2026
….1 (vllm-project#48155)

Signed-off-by: Andrey Talman <atalman@users.noreply.github.com>
Co-authored-by: Andrey Talman <atalman@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: Tej Kiran <kiran.tej@amd.com>
aditi-amd pushed a commit to aditi-amd/vllm that referenced this pull request Aug 4, 2026
….1 (vllm-project#48155)

Signed-off-by: Andrey Talman <atalman@users.noreply.github.com>
Co-authored-by: Andrey Talman <atalman@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
Signed-off-by: root <root@smci355-ccs-aus-m02-09.cs-aus.dcgpu>
meiyeh123 pushed a commit to vllm-project/tpu-inference that referenced this pull request Aug 5, 2026
vLLM main moved off torch 2.11 (currently 2.13.0 since
vllm-project/vllm#48155), while tpu-inference has
no direct torch pin and the torchvision==0.25.0 pin kept the TPU image on
torch 2.10.0+cpu. torch 2.13 is currently blocked: torchax (all released
versions incl. 0.0.14 nightlies) fails at import because torch 2.13
removed the aten.prod.dim_Dimname overload referenced in torchax amp.py.
torch 2.12.1 retains the Dimname overloads and torchax 0.0.13 imports
cleanly, so move to 2.12.1 now and revisit 2.13 when torchax adapts.
torchvision must move in lockstep (0.27.1 hard-pins torch==2.12.1).

Signed-off-by: Qiliang Cui <cuiq@google.com>

Signed-off-by: dennis yeh <dennis.yeh@cienet.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci/build cpu Related to CPU backends kv-connector multi-modality Related to multi-modality (#4194) nvidia ready ONLY add when PR is ready to merge/full CI is needed v1

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants