fix package sync (#135)

This commit is contained in:
Philip Meier
2023-04-25 20:55:18 +02:00
committed by GitHub
parent 056e930ec7
commit f9b67a8691
5 changed files with 12 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
---
title: `light-the-torch` is out of sync with the PyTorch package indices
title: light-the-torch is out of sync with the PyTorch package indices
assignees: pmeier
---
{%- if env.MISSING|length %}

View File

@@ -29,10 +29,10 @@ jobs:
OUT=$(python scripts/check_pytorch_package_indices.py)
MISSING=$(echo $OUT | jq -r '.missing | join(",")')
echo "missing=${MISSING}" >> $GITHUB_OUTPUT
echo "missing=${MISSING}" | tee -a "${GITHUB_OUTPUT}"
EXTRA=$(echo $OUT | jq -r '.extra | join(",")')
echo "extra=${EXTRA}" >> $GITHUB_OUTPUT
echo "extra=${EXTRA}" | tee -a "${GITHUB_OUTPUT}"
[ -z "${MISSING}${EXTRA}" ];

View File

@@ -49,18 +49,24 @@ PYTORCH_DISTRIBUTIONS = {
}
THIRD_PARTY_PACKAGES = {
"Jinja2",
"MarkupSafe",
"Pillow",
"certifi",
"charset-normalizer",
"cmake",
"colorama",
"filelock",
"idna",
"lit",
"mpmath",
"networkx",
"numpy",
"packaging",
"portalocker",
"requests",
"sympy",
"tqdm",
"typing-extensions",
"urllib3",
}

View File

@@ -66,7 +66,7 @@ local_scheme = "node-and-timestamp"
# https://github.com/psf/black#configuration-format
line-length = 88
target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
target-version = ['py37']
exclude = '''
/(
\.git

View File

@@ -17,6 +17,7 @@ EXCLUDED_PYTORCH_PACKAGES = {
"nestedtensor",
"pytorch_csprng",
"pytorch-triton",
"pytorch-triton-rocm",
"torch-cuda80",
"torch-nightly",
"torchaudio_nightly",
@@ -28,6 +29,7 @@ EXCLUDED_PYTORCH_PACKAGES = {
"torchrec_nightly_3.9_cu11.whl",
"torchrec_nightly_cpu",
"torchtriton",
"triton",
}
HANDLED_PACKAGES = PYTORCH_DISTRIBUTIONS | THIRD_PARTY_PACKAGES