diff --git a/analytics/validate_pypi_staging.py b/analytics/validate_pypi_staging.py index 9314aa204..5321313df 100644 --- a/analytics/validate_pypi_staging.py +++ b/analytics/validate_pypi_staging.py @@ -15,13 +15,20 @@ "win_amd64", "macosx_11_0_arm64", ] -PYTHON_VERSIONS = ["cp38", "cp39", "cp310", "cp311", "cp312"] +PYTHON_VERSIONS = [ + "cp38", + "cp39", + "cp310", + "cp311", + "cp312" + ] S3_PYPI_STAGING = "pytorch-backup" PACKAGE_RELEASES = { - "torch": "2.3.0", - "torchvision": "0.18.0", - "torchaudio": "2.3.0", + "torch": "2.3.1", + "torchvision": "0.18.1", + "torchaudio": "2.3.1", "torchtext": "0.18.0", + "executorch": "0.2.1" } PATTERN_V = "Version:" diff --git a/release/pypi/promote_pypi_to_production.sh b/release/pypi/promote_pypi_to_production.sh index a14fbb637..728bd3853 100644 --- a/release/pypi/promote_pypi_to_production.sh +++ b/release/pypi/promote_pypi_to_production.sh @@ -33,5 +33,7 @@ promote_staging_binaries() { promote_staging_binaries torch "${PYTORCH_VERSION}" promote_staging_binaries torchvision "${TORCHVISION_VERSION}" promote_staging_binaries torchaudio "${TORCHAUDIO_VERSION}" -promote_staging_binaries torchtext "${TORCHTEXT_VERSION}" -promote_staging_binaries torchdata "${TORCHDATA_VERSION}" + +promote_staging_binaries executorch "${EXECUTORCH_VERSION}" +#promote_staging_binaries torchtext "${TORCHTEXT_VERSION}" +#promote_staging_binaries torchdata "${TORCHDATA_VERSION}" diff --git a/release/pypi/promote_pypi_to_staging.sh b/release/pypi/promote_pypi_to_staging.sh index 3753d70ab..578cb3999 100644 --- a/release/pypi/promote_pypi_to_staging.sh +++ b/release/pypi/promote_pypi_to_staging.sh @@ -41,6 +41,9 @@ PLATFORM="linux_aarch64" VERSION_SUFFIX="" upload PLATFORM="win_amd64" VERSION_SUFFIX="${CPU_VERSION_SUFFIX}" upload_pypi_to_staging torchaudio "${TORCHAUDIO_VERSION}" PLATFORM="${MACOS_ARM64}" VERSION_SUFFIX="" upload_pypi_to_staging torchaudio "${TORCHAUDIO_VERSION}" -PLATFORM="linux_x86" VERSION_SUFFIX="${CPU_VERSION_SUFFIX}" upload_pypi_to_staging torchtext "${TORCHTEXT_VERSION}" -PLATFORM="win_amd64" VERSION_SUFFIX="${CPU_VERSION_SUFFIX}" upload_pypi_to_staging torchtext "${TORCHTEXT_VERSION}" -PLATFORM="${MACOS_ARM64}" VERSION_SUFFIX="" upload_pypi_to_staging torchtext "${TORCHTEXT_VERSION}" +PLATFORM="linux_x86" VERSION_SUFFIX="${WIN_VERSION_SUFFIX}" upload_pypi_to_staging executorch "${EXECUTORCH_VERSION}" +PLATFORM="${MACOS_ARM64}" VERSION_SUFFIX="" upload_pypi_to_staging executorch "${EXECUTORCH_VERSION}" + +#PLATFORM="linux_x86" VERSION_SUFFIX="${CPU_VERSION_SUFFIX}" upload_pypi_to_staging torchtext "${TORCHTEXT_VERSION}" +#PLATFORM="win_amd64" VERSION_SUFFIX="${CPU_VERSION_SUFFIX}" upload_pypi_to_staging torchtext "${TORCHTEXT_VERSION}" +#PLATFORM="${MACOS_ARM64}" VERSION_SUFFIX="" upload_pypi_to_staging torchtext "${TORCHTEXT_VERSION}" diff --git a/release/release_versions.sh b/release/release_versions.sh index f092786d6..e73549b90 100644 --- a/release/release_versions.sh +++ b/release/release_versions.sh @@ -1,12 +1,13 @@ #!/usr/bin/env bash # Make sure to update these versions when doing a release first -PYTORCH_VERSION=${PYTORCH_VERSION:-2.3.0} -TORCHVISION_VERSION=${TORCHVISION_VERSION:-0.18.0} -TORCHAUDIO_VERSION=${TORCHAUDIO_VERSION:-2.3.0} +PYTORCH_VERSION=${PYTORCH_VERSION:-2.3.1} +TORCHVISION_VERSION=${TORCHVISION_VERSION:-0.18.1} +TORCHAUDIO_VERSION=${TORCHAUDIO_VERSION:-2.3.1} TORCHTEXT_VERSION=${TORCHTEXT_VERSION:-0.18.0} TORCHREC_VERSION=${TORCHREC_VERSION:-0.7.0} TENSORRT_VERSION=${TENSORRT_VERSION:-2.2.0} +EXECUTORCH_VERSION=${EXECUTORCH_VERSION:-0.2.1} # NB: FBGEMMGPU uses the practice of keeping rc version in the filename, i.e. # fbgemm_gpu-0.6.0rc1+cpu-cp311-cp311. On the other hand, its final RC will