Skip to content

Commit 36120ce

Browse files
albanDpytorchmergebot
authored andcommitted
Adding 3.11 nightlies for linux PyPi (#82302)
Pull Request resolved: #82302 Approved by: https://github.com/malfet
1 parent c94706c commit 36120ce

File tree

2 files changed

+306
-1
lines changed

2 files changed

+306
-1
lines changed

.github/scripts/generate_binary_build_matrix.py

+9-1
Original file line numberDiff line numberDiff line change
@@ -183,10 +183,15 @@ def generate_wheels_matrix(os: str,
183183

184184
if python_versions is None:
185185
# Define default python version
186-
python_versions = FULL_PYTHON_VERSIONS
186+
python_versions = list(FULL_PYTHON_VERSIONS)
187187
if os == "macos-arm64":
188188
python_versions = list_without(python_versions, ["3.7"])
189189

190+
if os == "linux":
191+
# NOTE: We only build 3.11 wheel on linux as 3.11 is not
192+
# available on conda right now
193+
python_versions.append("3.11")
194+
190195
if arches is None:
191196
# Define default compute archivectures
192197
arches = ["cpu"]
@@ -201,6 +206,9 @@ def generate_wheels_matrix(os: str,
201206
for arch_version in arches:
202207
gpu_arch_type = arch_type(arch_version)
203208
gpu_arch_version = "" if arch_version == "cpu" else arch_version
209+
# Skip rocm 3.11 binaries for now as the docker image are not correct
210+
if python_version == "3.11" and gpu_arch_type == "rocm":
211+
continue
204212
ret.append(
205213
{
206214
"python_version": python_version,

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

+297
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)