Skip to content

Update PyTorch and torchvision versions to 2.12.1 and 0.27.1#1943

Merged
XuehaoSun merged 3 commits into
mainfrom
xuehao/update_torch
Jun 23, 2026
Merged

Update PyTorch and torchvision versions to 2.12.1 and 0.27.1#1943
XuehaoSun merged 3 commits into
mainfrom
xuehao/update_torch

Conversation

@XuehaoSun

Copy link
Copy Markdown
Contributor

This pull request updates the versions of torch and torchvision to 2.12.1 and 0.27.1, respectively, across various development and testing environments. It also makes a small adjustment to error pattern matching in the unit test log analyzer script.

Dependency version upgrades:

  • Updated torch to version 2.12.1 and torchvision to version 0.27.1 in the following locations:
    • .azure-pipelines/docker/Dockerfile.devel for CPU builds
    • .azure-pipelines/docker/Dockerfile_xpu.devel for XPU builds
    • .azure-pipelines/scripts/cuda_unit_test/run_cuda_ut.sh for CUDA unit test setup
    • .azure-pipelines/scripts/ut/constraints.txt for unit test constraints

Testing and error handling:

  • Modified the error pattern in LogAnalyzer to match "Exception:" instead of "Exception" for more precise error detection in .azure-pipelines/scripts/ut/collect_result.py

…ively, in Dockerfiles and constraints file

Signed-off-by: Sun, Xuehao <xuehao.sun@intel.com>
Signed-off-by: Sun, Xuehao <xuehao.sun@intel.com>
@chensuyue

Copy link
Copy Markdown
Contributor

/azp run Unit-Test-CUDA-AutoRound

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command.

@chensuyue chensuyue added this to the 0.14.0 milestone Jun 23, 2026
@chensuyue

Copy link
Copy Markdown
Contributor

/azp run Unit-Test-CUDA-AutoRound

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@XuehaoSun XuehaoSun merged commit 354c6a3 into main Jun 23, 2026
33 checks passed
@XuehaoSun XuehaoSun deleted the xuehao/update_torch branch June 23, 2026 04:42
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