Binary upload checksum (#144887)

Equivalent to https://github.com/pytorch/test-infra/pull/6172 but for pytorch
Pull Request resolved: https://github.com/pytorch/pytorch/pull/144887
Approved by: https://github.com/atalman
This commit is contained in:
Catherine Lee
2025-01-22 20:46:04 +00:00
committed by PyTorch MergeBot
parent a57133e3c7
commit 2efa98d69d

View File

@ -58,7 +58,7 @@ s3_upload() {
for pkg in ${PKG_DIR}/*.${extension}; do for pkg in ${PKG_DIR}/*.${extension}; do
( (
set -x set -x
${AWS_S3_CP} --no-progress --acl public-read "${pkg}" "${s3_upload_dir}" ${AWS_S3_CP} --no-progress --acl public-read "${pkg}" "${s3_upload_dir}" --checksum-algorithm SHA256
) )
done done
) )