Skip to content

Commit 6dfca2a

Browse files
seemethereatalman
authored andcommitted
s3: Allow tar.gz as an accepted file extension (pytorch#1317)
1 parent 459aa80 commit 6dfca2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

s3_management/manage.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
CLIENT = boto3.client('s3')
1818
BUCKET = S3.Bucket('pytorch')
1919

20-
ACCEPTED_FILE_EXTENSIONS = ("whl", "zip")
20+
ACCEPTED_FILE_EXTENSIONS = ("whl", "zip", "tar.gz")
2121
ACCEPTED_SUBDIR_PATTERNS = [
2222
r"cu[0-9]+", # for cuda
2323
r"rocm[0-9]+\.[0-9]+", # for rocm

0 commit comments

Comments
 (0)