Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion release/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ These are a collection of scripts that are to be used for release activities.

## Requirements to actually run these scripts
* AWS access to pytorch account (META Employees: `bunnylol cloud pytorch`)
* Access to upload conda packages to the [`pytorch`](https://anaconda.org/pytorch) conda channel
* Access to the PyPI repositories (like [torch](https://pypi.org/project/torch))

## Promote pypi to staging
Expand Down
24 changes: 2 additions & 22 deletions release/promote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,6 @@ promote_s3() {
echo
}

promote_conda() {
local package_name
package_name=$1
local package_type
package_type=$2
local promote_version
promote_version=$3
echo "=-=-=-= Promoting ${package_name}'s v${promote_version} ${package_type} packages' =-=-=-="
(
ANACONDA="echo + anaconda"
if [[ "${DRY_RUN:-enabled}" = "disabled" ]]; then
ANACONDA="anaconda"
set -x
else
echo "DRY_RUN enabled not actually doing work"
fi
${ANACONDA} copy --to-owner ${PYTORCH_CONDA_TO:-pytorch} ${PYTORCH_CONDA_FROM:-pytorch-test}/${package_name}/${promote_version}
)
echo
}

promote_pypi() {
local package_name
package_name=$1
Expand Down Expand Up @@ -106,7 +85,8 @@ promote_pypi() {
# promote_s3 "pytorch_triton_xpu" whl "${TRITON_VERSION}"
# promote_s3 torchtext whl "${TORCHTEXT_VERSION}"
# promote_s3 torchrec whl "${TORCHREC_VERSION}"
# promote_s3 fbgemm-gpu whl "${FBGEMMGPU_VERSION}"
# promote_s3 fbgemm_gpu whl "${FBGEMMGPU_VERSION}"
# promote_s3 fbgemm_gpu_genai whl "${FBGEMMGPU_VERSION}"
# promote_s3 "libtorch-*" libtorch "${PYTORCH_VERSION}"
# promote_s3 "torch_tensorrt" whl "${TENSORRT_VERSION}"
# promote_s3 "torchao" whl "${TORCHAO_VERSION}"
Expand Down
1 change: 0 additions & 1 deletion release/promote/common_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ aws_promote() {
(
set -x
${AWS} s3 cp ${DRY_RUN_FLAG} \
--only-show-errors \
--acl public-read \
--recursive \
--exclude '*' \
Expand Down
2 changes: 1 addition & 1 deletion release/release_versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ EXECUTORCH_VERSION=${EXECUTORCH_VERSION:-0.3.0}
TORCHAO_VERSION=${TORCHAO_VERSION:-0.9.0}
TORCHDATA_VERSION=${TORCHDATA_VERSION:-0.11.0}
TORCHTUNE_VERSION=${TORCHTUNE_VERSION:-0.2.1}
FBGEMMGPU_VERSION=${FBGEMMGPU_VERSION:-1.0.0}
FBGEMMGPU_VERSION=${FBGEMMGPU_VERSION:-1.2.0}