Skip to content

Commit 140dc0d

Browse files
authored
Add variants to pytorch index calculation script (#7014)
Related to RFC: pytorch/pytorch#159714
1 parent 5f77b45 commit 140dc0d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

s3_management/manage.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
BUCKET_META_CDN = S3.Bucket("pytorch-test")
2828
INDEX_BUCKETS = {BUCKET, BUCKET_META_CDN}
2929

30-
ACCEPTED_FILE_EXTENSIONS = ("whl", "zip", "tar.gz")
30+
ACCEPTED_FILE_EXTENSIONS = ("whl", "zip", "tar.gz", "json")
3131
ACCEPTED_SUBDIR_PATTERNS = [
3232
r"cu[0-9]+", # for cuda
3333
r"rocm[0-9]+\.[0-9]+", # for rocm
@@ -40,6 +40,8 @@
4040
"whl/test",
4141
"libtorch",
4242
"libtorch/nightly",
43+
"whl/test/variant",
44+
"whl/variant",
4345
]
4446

4547
# NOTE: This refers to the name on the wheels themselves and not the name of
@@ -85,6 +87,8 @@
8587
"tzdata",
8688
"xxhash",
8789
"yarl",
90+
"pep_xxx_wheel_variants",
91+
"nvidia_variant_provider",
8892
# ---- triton additional packages ----
8993
"Arpeggio",
9094
"caliper_reader",

0 commit comments

Comments
 (0)