8000 `version.txt` mismatch with tags in release branch · Issue #151425 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content
version.txt mismatch with tags in release branch #151425
@generspooler

Description

@generspooler

🐛 Describe the bug

tags v2.5.1, the git log shows version is v2.5.1, but its version.txt is 2.5.0a0.

This error will make the torch compiled .whl become torch-.2.5.0a0+xxxxx.whl. After installing this .whl, the environment torch version will be 2.5.0a0, which is wrong. [Correct version i think should be 2.5.1].

After manually changed 2.5.0a0 to 2.5.1 in version.txt, the compiled .whl back to correct torch-2.5.1+xxxx.whl, and everything looks correct.

Versions

Versions of relevant libraries:
[pip3] numpy==1.26.4
[pip3] torch==2.5.1+git1ca95c8
[pip3] torch-npu==2.5.1+git14fa78c
[pip3] torchvision==0.16.0
[conda] gpytorch 1.12
[conda] modelarts-pytorch-model-server 1.0.6
[conda] numpy 1.26.4
[conda] optree 0.13.1
[conda] torch 2.5.1+gita8d6afb
[conda] torch 2.1.0a0+gitf55e5f3
[conda] torch-npu 2.1.0.post11+git9cf5934
[conda] torchvision 0.16.0

cc @seemethere @malfet @osalpekar @atalman

Metadata

Metadata

Assignees

Labels

5A20
enhancementNot as big of a feature, but technically not a bug. Should be easy to fixlow priorityWe're unlikely to get around to doing this in the near futuremodule: binariesAnything related to official binaries that we release to usersoncall: relengIn support of CI and Release EngineeringtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

Type

No type

Projects

Status

Cold Storage

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0