Skip to content

Commit 053feed

Browse files
authored
Add minor versioning to release 0.13 (pytorch#6334)
* Add minor versioning * Rebuild m1 binarieswhen version.txt changes
1 parent 9a40530 commit 053feed

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/build-m1-binaries.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ on:
33
pull_request:
44
paths:
55
- .github/workflows/build-m1-binaries.yml
6+
- version.txt
67
push:
78
branches:
89
- nightly
@@ -73,7 +74,7 @@ jobs:
7374
conda create -yp ${ENV_NAME} python=${PY_VERS} numpy
7475
conda run -p ${ENV_NAME} python3 -mpip install torch --pre --extra-index-url=https://download.pytorch.org/whl/${CHANNEL}
7576
conda run -p ${ENV_NAME} python3 -mpip install dist/*.whl
76-
# Test torch is importable, by changing cwd and running import commands
77+
# Test torch is importable, by changing cwd and running import commands.
7778
conda run --cwd /tmp -p ${ENV_NAME} python3 -c "import torchvision;print('torchvision version is ', torchvision.__version__)"
7879
conda run --cwd /tmp -p ${ENV_NAME} python3 -c "import torch;import torchvision;print('Is torchvision useable?', all(x is not None for x in [torch.ops.image.decode_png, torch.ops.torchvision.roi_align]))"
7980
conda run --cwd /tmp -p ${ENV_NAME} python3 -c "import torchvision;print(torchvision.io.read_image('${PWD}/gallery/assets/dog1.jpg').shape)"

version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.13.0a0
1+
0.13.1a0

0 commit comments

Comments
 (0)