Skip to content

Commit 2c1e36d

Browse files
authored
s3_management: Add PACKAGE_ALLOW_LIST for indices (#1259)
1 parent b45f76c commit 2c1e36d

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

s3_management/manage.py

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,34 @@
3030
"whl/test": "torch_test.html",
3131
}
3232

33+
PACKAGE_ALLOW_LIST = {
34+
"Pillow",
35+
"certifi",
36+
"charset-normalizer",
37+
"cmake",
38+
"filelock",
39+
"idna",
40+
"mpmath",
41+
"nestedtensor",
42+
"networkx",
43+
"numpy",
44+
"packaging",
45+
"pytorch-triton",
46+
"requests",
47+
"sympy",
48+
"torch",
49+
"torcharrow",
50+
"torchaudio",
51+
"torchcsprng",
52+
"torchdata",
53+
"torchdistx",
54+
"torchrec",
55+
"torchtext",
56+
"torchvision",
57+
"typing-extensions",
58+
"urllib3",
59+
}
60+
3361
# Should match torch-2.0.0.dev20221221+cu118-cp310-cp310-linux_x86_64.whl as:
3462
# Group 1: torch-2.0.0.dev
3563
# Group 2: 20221221
@@ -96,7 +124,7 @@ def nightly_packages_to_show(self: S3IndexType) -> Set[str]:
96124
to_hide.add(obj)
97125
elif between_bad_dates(package_build_time):
98126
to_hide.add(obj)
99-
elif "torchtriton" in package_name:
127+
elif package_name not in PACKAGE_ALLOW_LIST:
100128
to_hide.add(obj)
101129
else:
102130
packages[package_name] += 1

0 commit comments

Comments
 (0)