-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 2.2.0 pypi prep script modifications #1686
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,13 +21,12 @@ upload_pypi_to_staging() { | |
} | ||
|
||
# Uncomment these to promote to pypi | ||
PYTORCH_LINUX_VERSION_SUFFIX="%2Bcu121.with.pypi.cudnn" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
LINUX_VERSION_SUFFIX="%2Bcu121" | ||
CPU_VERSION_SUFFIX="%2Bcpu" | ||
MACOS_X86_64="macosx_.*_x86_64" | ||
MACOS_ARM64="macosx_.*_arm64" | ||
|
||
PLATFORM="linux_x86_64" VERSION_SUFFIX="${PYTORCH_LINUX_VERSION_SUFFIX}" upload_pypi_to_staging torch "${PYTORCH_VERSION}" | ||
PLATFORM="linux_x86_64" VERSION_SUFFIX="${LINUX_VERSION_SUFFIX}" upload_pypi_to_staging torch "${PYTORCH_VERSION}" | ||
PLATFORM="manylinux2014_aarch64" VERSION_SUFFIX="" upload_pypi_to_staging torch "${PYTORCH_VERSION}" | ||
PLATFORM="win_amd64" VERSION_SUFFIX="${CPU_VERSION_SUFFIX}" upload_pypi_to_staging torch "${PYTORCH_VERSION}" | ||
PLATFORM="${MACOS_X86_64}" VERSION_SUFFIX="" upload_pypi_to_staging torch "${PYTORCH_VERSION}" # intel mac | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,10 +33,8 @@ pushd "${output_tmp_dir}" | |
# Dry run by default | ||
DRY_RUN=${DRY_RUN:-enabled} | ||
# On dry run just echo the commands that are meant to be run | ||
TWINE_UPLOAD="echo twine upload" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should not set any TWINE vars in upload_pypi_to_staging |
||
DRY_RUN_FLAG="--dryrun" | ||
if [[ $DRY_RUN = "disabled" ]]; then | ||
TWINE_UPLOAD="twine upload" | ||
DRY_RUN_FLAG="" | ||
fi | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Make sure to update these versions when doing a release first | ||
PYTORCH_VERSION=${PYTORCH_VERSION:-2.1.1} | ||
TORCHVISION_VERSION=${TORCHVISION_VERSION:-0.16.1} | ||
TORCHAUDIO_VERSION=${TORCHAUDIO_VERSION:-2.1.1} | ||
TORCHTEXT_VERSION=${TORCHTEXT_VERSION:-0.16.1} | ||
PYTORCH_VERSION=${PYTORCH_VERSION:-2.2.0} | ||
TORCHVISION_VERSION=${TORCHVISION_VERSION:-0.17.0} | ||
TORCHAUDIO_VERSION=${TORCHAUDIO_VERSION:-2.2.0} | ||
TORCHTEXT_VERSION=${TORCHTEXT_VERSION:-0.17.0} | ||
TORCHDATA_VERSION=${TORCHDATA_VERSION:-0.7.1} | ||
TORCHREC_VERSION=${TORCHREC_VERSION:-0.6.0} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Give me a sec to land the fbgemm PR #1681, may be this will complain about a conflict and ask for a rebase. |
||
FBGEMMGPU_VERSION=${FBGEMMGPU_VERSION:-0.6.0} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think both of these folders where removed from torch. Validated generated binary. It does not have any
caffe2
or/torch/lib/libnvrtc*