Skip to content

Commit

Permalink
Release 2.1 update promotion scripts (#1564)
Browse files Browse the repository at this point in the history
  • Loading branch information
atalman authored Oct 3, 2023
1 parent 8bcc83d commit b39cccf
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions release/promote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
source "${DIR}/release_versions.sh"

# Make sure to update these versions when doing a release first
PYTORCH_VERSION=${PYTORCH_VERSION:-2.0.0}
TORCHVISION_VERSION=${TORCHVISION_VERSION:-0.15.0}
TORCHAUDIO_VERSION=${TORCHAUDIO_VERSION:-2.0.0}
TORCHTEXT_VERSION=${TORCHTEXT_VERSION:-0.15.0}
TORCHDATA_VERSION=${TORCHDATA_VERSION:-0.6.0}
PYTORCH_VERSION=${PYTORCH_VERSION:-2.1.0}
TORCHVISION_VERSION=${TORCHVISION_VERSION:-0.16.0}
TORCHAUDIO_VERSION=${TORCHAUDIO_VERSION:-2.1.0}
TORCHTEXT_VERSION=${TORCHTEXT_VERSION:-0.16.0}
TORCHDATA_VERSION=${TORCHDATA_VERSION:-0.7.0}

DRY_RUN=${DRY_RUN:-enabled}

Expand Down Expand Up @@ -104,9 +104,9 @@ promote_pypi() {
# promote_s3 torchdata whl "${TORCHDATA_VERSION}"
# promote_s3 "libtorch-*" libtorch "${PYTORCH_VERSION}"

# promote_conda torchtriton conda "2.0.0"
# promote_conda pytorch-cuda conda "11.7"
# promote_conda torchtriton conda "2.1.0"
# promote_conda pytorch-cuda conda "11.8"
# promote_conda pytorch-cuda conda "12.1"

# promote_conda pytorch conda "${PYTORCH_VERSION}"
# promote_conda torchvision conda "${TORCHVISION_VERSION}"
Expand Down
4 changes: 2 additions & 2 deletions release/pypi/promote_pypi_to_staging.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ upload_pypi_to_staging() {
}

# Uncomment these to promote to pypi
PYTORCH_LINUX_VERSION_SUFFIX="%2Bcu117.with.pypi.cudnn"
LINUX_VERSION_SUFFIX="%2Bcu117"
PYTORCH_LINUX_VERSION_SUFFIX="%2Bcu121.with.pypi.cudnn"
LINUX_VERSION_SUFFIX="%2Bcu121"
WIN_VERSION_SUFFIX="%2Bcpu"
MACOS_X86_64="macosx_.*_x86_64"
MACOS_ARM64="macosx_.*_arm64"
Expand Down
10 changes: 5 additions & 5 deletions release/release_versions.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash

# Make sure to update these versions when doing a release first
PYTORCH_VERSION=${PYTORCH_VERSION:-2.0.0}
TORCHVISION_VERSION=${TORCHVISION_VERSION:-0.15.0}
TORCHAUDIO_VERSION=${TORCHAUDIO_VERSION:-2.0.0}
TORCHTEXT_VERSION=${TORCHTEXT_VERSION:-0.15.0}
TORCHDATA_VERSION=${TORCHDATA_VERSION:-0.6.0}
PYTORCH_VERSION=${PYTORCH_VERSION:-2.1.0}
TORCHVISION_VERSION=${TORCHVISION_VERSION:-0.16.0}
TORCHAUDIO_VERSION=${TORCHAUDIO_VERSION:-2.1.0}
TORCHTEXT_VERSION=${TORCHTEXT_VERSION:-0.16.0}
TORCHDATA_VERSION=${TORCHDATA_VERSION:-0.7.0}

0 comments on commit b39cccf

Please sign in to comment.