mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Make whl metadata public readable (#144164)
After https://github.com/pytorch/pytorch/pull/143677/files#r1902138480 lands, the new nightly wheel metadata is not readable publicly causing pip install to fail, for example https://github.com/pytorch/pytorch/actions/runs/12603415308/job/35128414909. FBGEMM folks are also noticed this failure on their end (cc @q10) Pull Request resolved: https://github.com/pytorch/pytorch/pull/144164 Approved by: https://github.com/clee2000
This commit is contained in:
@ -50,7 +50,12 @@ def s3_upload(s3_bucket: str, s3_key: str, file: str, dry_run: bool) -> None:
|
||||
if dry_run:
|
||||
print(f"Dry run uploading {file} to s3://{s3_bucket}/{s3_key}")
|
||||
return
|
||||
s3.upload_file(file, s3_bucket, s3_key, ExtraArgs={"ChecksumAlgorithm": "sha256"})
|
||||
s3.upload_file(
|
||||
file,
|
||||
s3_bucket,
|
||||
s3_key,
|
||||
ExtraArgs={"ChecksumAlgorithm": "sha256", "ACL": "public-read"},
|
||||
)
|
||||
|
||||
|
||||
def extract_metadata(file: str) -> str:
|
||||
|
Reference in New Issue
Block a user