Skip to content

Commit 345695e

Browse files
weiwangmetapytorchmergebot
authored andcommitted
Remove PY37 from binary build matrix (#92919)
Similar to pytorch/test-infra#1416 but for binary build Pull Request resolved: #92919 Approved by: https://github.com/atalman
1 parent 1af9231 commit 345695e

7 files changed

+1
-2808
lines changed

.github/scripts/generate_binary_build_matrix.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def arch_type(arch_version: str) -> str:
7171
("cpu", CXX11_ABI): "pytorch/libtorch-cxx11-builder:cpu",
7272
}
7373

74-
FULL_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10"]
74+
FULL_PYTHON_VERSIONS = ["3.8", "3.9", "3.10"]
7575

7676

7777
def translate_desired_cuda(gpu_arch_type: str, gpu_arch_version: str) -> str:
@@ -92,8 +92,6 @@ def generate_conda_matrix(os: str) -> List[Dict[str, str]]:
9292
python_versions = FULL_PYTHON_VERSIONS
9393
if os == "linux" or os == "windows":
9494
arches += CUDA_ARCHES
95-
elif os == "macos-arm64":
96-
python_versions = list_without(python_versions, ["3.7"])
9795
for python_version in python_versions:
9896
# We don't currently build conda packages for rocm
9997
for arch_version in arches:
@@ -180,8 +178,6 @@ def generate_wheels_matrix(os: str,
180178
if python_versions is None:
181179
# Define default python version
182180
python_versions = list(FULL_PYTHON_VERSIONS)
183-
if os == "macos-arm64":
184-
python_versions = list_without(python_versions, ["3.7"])
185181

186182
if os == "linux":
187183
# NOTE: We only build 3.11 wheel on linux as 3.11 is not

.github/workflows/generated-linux-binary-conda-nightly.yml

Lines changed: 0 additions & 237 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)