diff --git a/.github/workflows/build-m1-binaries.yml b/.github/workflows/build-m1-binaries.yml index d8aa94d4581..8bf06384038 100644 --- a/.github/workflows/build-m1-binaries.yml +++ b/.github/workflows/build-m1-binaries.yml @@ -3,6 +3,7 @@ on: pull_request: paths: - .github/workflows/build-m1-binaries.yml + - version.txt push: branches: - nightly @@ -73,7 +74,7 @@ jobs: conda create -yp ${ENV_NAME} python=${PY_VERS} numpy conda run -p ${ENV_NAME} python3 -mpip install torch --pre --extra-index-url=https://download.pytorch.org/whl/${CHANNEL} conda run -p ${ENV_NAME} python3 -mpip install dist/*.whl - # Test torch is importable, by changing cwd and running import commands + # Test torch is importable, by changing cwd and running import commands. conda run --cwd /tmp -p ${ENV_NAME} python3 -c "import torchvision;print('torchvision version is ', torchvision.__version__)" 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]))" conda run --cwd /tmp -p ${ENV_NAME} python3 -c "import torchvision;print(torchvision.io.read_image('${PWD}/gallery/assets/dog1.jpg').shape)" diff --git a/version.txt b/version.txt index 19b4ae8e531..776617073a5 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.13.0a0 +0.13.1a0